Skip to content

fix: restore Escape input in WezTerm#16

Merged
kunchenguid merged 1 commit into
mainfrom
fm/dpub-kitty-rollback-r6
Jul 11, 2026
Merged

fix: restore Escape input in WezTerm#16
kunchenguid merged 1 commit into
mainfrom
fm/dpub-kitty-rollback-r6

Conversation

@kunchenguid

Copy link
Copy Markdown
Owner

Intent

URGENT ROLLBACK in this public teaching repo. PR #15 added config.enable_kitty_keyboard = true to home/.config/wezterm/wezterm.lua (plus a two-line comment above it) and a README explainer line about the kitty keyboard protocol. That option caused a total-loss regression: physical Escape never registers in Neovim under Herdr after a rebuild. The fix removes BOTH additions from PR #15 and nothing else: (1) the two comment lines and the config.enable_kitty_keyboard option in wezterm.lua, cleaning up the orphaned blank line so there is a single blank line before 'return config'; (2) the single README explainer sentence on the 'About herdr' paragraph. This is a pure revert with footprint of exactly those two removals - no other behavior, docs, or files change. Because it is a public teaching repo, the goal is that a viewer who copies this config simply no longer has the broken option.

What Changed

  • Remove the WezTerm setting that explicitly enables the kitty keyboard protocol, restoring physical Escape input in Neovim under Herdr.
  • Remove the corresponding kitty keyboard protocol explanation from the README.

Risk Assessment

✅ Low: The change is a tightly scoped rollback that exactly restores the repository tree to the state before PR #15, with no unrelated changes or residual documentation inconsistencies.

Testing

Verified the five-line, two-file rollback footprint, loaded the copied configuration successfully with WezTerm, confirmed all broken-option text is absent, and proved the target tree exactly matches the pre-PR #15 tree; the transcript captures the end-user configuration and documentation surfaces, and no screenshot was applicable because this is a configuration rollback with no rendered UI change.

Evidence: Rollback end-to-end transcript
End-user WezTerm config load
$ wezterm --config-file home/.config/wezterm/wezterm.lua show-keys --key-table default
exit_status=0
loaded_key_assignments=274

Rollback behavior checks
$ rg -n "enable_kitty_keyboard|kitty keyboard protocol|atomic key event|tailgating mouse" README.md home
removed_setting_and_explainer=absent

Exact revert check
$ git diff --quiet 95cf01b^ b1a7394
target_tree_matches_pre_PR15_tree=ad6fe1d9f43dfbf96d577b619fb8d5d99ce3174b

Final config tail (visible copy surface)
config.font_size = 15.0
config.window_background_opacity = 0.8
config.macos_window_background_blur = 50
config.hide_tab_bar_if_only_one_tab = true
config.window_decorations = "RESIZE"

return config

README herdr paragraph (visible teaching surface)
**About `herdr`:** it's in the `brews` list.
It's a real public Homebrew formula (`brew info herdr` finds it in homebrew-core, no tap needed), so it will install fine.
If you don't use it, just remove it from `brews` in your copy.

**Heads-up:**

- `home/AGENTS.md` is my personal agent policy, and `home.nix` installs it for Claude, Codex, and opencode.

Pipeline

Updates from git push no-mistakes

✅ **intent** - passed

✅ No issues found.

✅ **Rebase** - passed

✅ No issues found.

✅ **Review** - passed

✅ No issues found.

✅ **Test** - passed

✅ No issues found.

  • git diff --no-ext-diff --unified=20 95cf01b042f23513cc86afbaa64c7d306b00467f..b1a739474cec41b11d20a719cc360d6afc76cef8
  • git diff --check 95cf01b042f23513cc86afbaa64c7d306b00467f..b1a739474cec41b11d20a719cc360d6afc76cef8
  • wezterm --config-file home/.config/wezterm/wezterm.lua show-keys --key-table default
  • rg -n "enable_kitty_keyboard|kitty keyboard protocol|atomic key event|tailgating mouse" README.md home
  • git diff --quiet 95cf01b^ b1a7394
  • Manually inspected the final WezTerm config tail and README herdr paragraph in the evidence transcript.
✅ **Document** - passed

✅ No issues found.

✅ **Lint** - passed

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

The enable_kitty_keyboard option added in PR #15 caused a total-loss
regression: physical Escape never registered in Neovim under Herdr after
a rebuild. Remove the option and its README explainer so viewers who
follow this setup are not broken.
@kunchenguid
kunchenguid merged commit f068d43 into main Jul 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant