Skip to content
Discussion options

You must be logged in to vote

I can't reproduce this with Kitty. AFAIK the kitty keyboard protocol support in alacritty is fairly new so this might be an alacritty bug.

The way I typically debug key events is to run our terminal manipulation library's event-read example: https://github.com/crossterm-rs/crossterm/blob/master/examples/event-read.rs (i.e. clone that repository and run cargo run --example event-read).

In order to make the kitty keyboard protocol settings the same, you can modify this block: https://github.com/crossterm-rs/crossterm/blob/08762b3ef4519e7f834453bf91e3fe36f4c63fe7/examples/event-read.rs#L78-L86

to be:

PushKeyboardEnhancementFlags(
    KeyboardEnhancementFlags::DISAMBIGUATE_ESCAPE_CODES

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mkon
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #9207 on January 02, 2024 16:03.