Skip to content

fix(input): keep prefix tab and escape keys with kitty associated text - #3057

Closed
fraidev wants to merge 1 commit into
herdrdev:masterfrom
fraidev:fix/prefix-tab-escape-associated-text
Closed

fix(input): keep prefix tab and escape keys with kitty associated text#3057
fraidev wants to merge 1 commit into
herdrdev:masterfrom
fraidev:fix/prefix-tab-escape-associated-text

Conversation

@fraidev

@fraidev fraidev commented Aug 20, 2026

Copy link
Copy Markdown

After 0.8.2, prefix+tab, prefix+shift+tab, and prefix+esc stopped working for me. Prefix mode turns on Kitty report-all, and 0.8.2 also asks the host for associated text. Wezterm/Kitty then send Tab/Esc as CSI-u with the control character attached (\x1b[9;;9u, \x1b[9;2;9u, \x1b[27;;27u).

The IME parser treated that associated control text as malformed and dropped the whole key, so prefix mode never saw Tab or Esc. Configs like next_tab = "prefix+tab" and copy_mode = "prefix+esc" never ran.

This is separate from the prefix+esc lookup PR. Both are needed for prefix+esc after 0.8.2. Tab and Shift+Tab only need this one.

Prefix mode enables kitty report-all with associated text. Hosts then send
Tab, Shift+Tab, and Escape as CSI-u sequences with control associated text,
which the 0.8.2 IME parser rejected as a whole key. Ignore control-only
associated text so those prefix bindings still dispatch.
@coderabbitai

coderabbitai Bot commented Aug 20, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • ai-review

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 086035ad-b66d-4626-b2bf-e6cb20d6e285

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@kangal-bot

Copy link
Copy Markdown
Collaborator

Hi @fraidev, thanks for your interest in contributing.

Herdr does not accept unsolicited implementation pull requests from contributors who are not listed in .github/APPROVED_CONTRIBUTORS.

The pull request author is not an approved contributor.

If you encountered a reproducible bug, report the observed behavior through the bug issue template. A report does not reserve the work or authorize a pull request; accepted fixes are normally implemented by Herdr’s maintainer-controlled agents.

Feature requests, behavior changes, and other proposals belong in GitHub Discussions. Do not open an issue merely to justify an implementation that was already written.

If a maintainer explicitly wants this implementation, they can reopen the pull request. Reopening by anyone else will be closed again automatically.

See https://github.com/herdrdev/herdr/blob/master/CONTRIBUTING.md for the contribution policy.

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.

2 participants