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

kitty keyboard protocol not disabled after running notcurses-demo in iTerm2 #2811

Open
tstack opened this issue Dec 5, 2024 · 2 comments
Open
Assignees
Labels
bug Something isn't working
Milestone

Comments

@tstack
Copy link

tstack commented Dec 5, 2024

Hi there,

After running notcurses-demo in iTerm2 on MacOS 15.1.1, keyboard input is all messed up. Pressing keys just spits out escape codes like the following:

u3;1:3uu;1:3u7442;5u9;5u9;5:3u7442;1:3u7442;5u9;5u9;5:3u9;5u9;5:3u9;5u9;5:3u7442;1:3u3u3;1:3u3u3;1:3u3u3
;1:3u3u3;1:3u:3uu;1:3uu;1:3u3u3;1:3u3u3;1:3u7u7;1:3u

I'm guessing the kitty keyboard protocol is enabled, but not disabled before exit?

Thanks

Please include the following data:

  • export | egrep 'LANG|LC_CTYPE|TERM'
COLORTERM=truecolor
ITERM_PROFILE=Default
ITERM_SESSION_ID=w0t0p0:68157217-8854-437A-9458-1D089E6551C6
LANG=en_US.UTF-8
LC_TERMINAL=iTerm2
LC_TERMINAL_VERSION=3.5.10
TERM=xterm-256color
TERMINFO_DIRS=/Applications/iTerm.app/Contents/Resources/terminfo:/usr/share/terminfo
TERM_FEATURES=T3CwLrMSc7UUw9Ts3BFGsSyHNoSxF
TERM_PROGRAM=iTerm.app
TERM_PROGRAM_VERSION=3.5.10
TERM_SESSION_ID=w0t0p0:68157217-8854-437A-9458-1D089E6551C6
  • notcurses version (available from notcurses-demo i)
image
  • terminal name + version

iTerm2 Build 3.5.10

@tstack tstack added the bug Something isn't working label Dec 5, 2024
@tstack
Copy link
Author

tstack commented Dec 13, 2024

I've "fixed" this by sending \x1b[=0u to turn off the enhancements before sending the pop (\x1b[<u). That seems to make things work again.

@dankamongmen dankamongmen self-assigned this Dec 31, 2024
@dankamongmen dankamongmen added this to the 3.1.0 milestone Dec 31, 2024
@dankamongmen
Copy link
Owner

time to dig out the osx laptop and bring it up to date with the world!

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

2 participants