Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using arrows with Kitty Keyboard enabled prints the escape sequence #3925

Open
Broderick-Westrope opened this issue Sep 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Broderick-Westrope
Copy link

Describe the bug

After enabling the Kitty Keyboard protocol in WezTerm I can no longer use the arrow keys. Disabling Kitty Keyboard fixes the issue. This is what happens in different views:

  • Focussed on "Local Branches" section & press any arrow
    • focus moves to "Status" section.
  • Focussed on "Keybindings" popup (after pressing ?) & press any arrow
    • exits the "Keybindings" popup and moves focus to the "Status" section (even if focus was elsewhere before opening "Keybindings").
  • Focussed on "Commit Summary" section of the new commit popup & press any arrow
    • prints escape sequences such as [1;1A when pressing the up arrow.

To Reproduce

I am using WezTerm version 20240203-110809-5046fc22 on MacOS and this is the output of lazygit -v:

commit=, build date=, build source=homebrew, version=0.44.1, os=darwin, arch=arm64, git version=2.39.5 (Apple Git-154)

Steps to reproduce the behavior:

  1. Enabled Kitty Keyboard protocol in config. (link)
  2. recreate one of the scenarios described above.

Expected behavior

See expected behaviour described above for each scenario.

Screenshots

CleanShot 2024-09-20 at 07 46 56

Version info

lazygit: commit=, build date=, build source=homebrew, version=0.44.1, os=darwin, arch=arm64, git version=2.39.5 (Apple Git-154)
git: git version 2.39.5 (Apple Git-154)

@Broderick-Westrope Broderick-Westrope added the bug Something isn't working label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant