Repository navigation
core: compact keypress debug output and add IME repro - #941
Merged
Merged
Conversation
simonklee
force-pushed
the
keyboard-ctrl-x
branch
from
April 11, 2026 21:10
6ade031 to
be3a985
Compare
kommander
previously approved these changes
Apr 12, 2026
Kitty can report the typed character and the base-layout key at the same time. Match bindings against that base layout so Ctrl shortcuts keep working under non-Latin IMEs and alternate keyboard layouts. Also decode raw 0x1c..0x1f bytes as Ctrl+\, Ctrl+], Ctrl+^, and Ctrl+_ so tmux-style control input reaches the same shortcut path. Rework the keypress debug demo around parsed events instead of large per-event cards. Keep the main feed dense, move raw input into session detail and export output, and show the latest event with useful fields such as source, code, and Kitty baseCode. Add test that reproduces Ctrl+C when Kitty reports an alternate base layout for a non-Latin IME. For anomalyco/opencode#21163
simonklee
force-pushed
the
keyboard-ctrl-x
branch
from
April 12, 2026 11:56
be3a985 to
c28bd2f
Compare
Member
Author
|
I'll add a followup in opencode that adds a few of these: instead of just matching on evt.name which may be a different codepoint |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rework the keypress debug demo around parsed events instead of large per-event cards. Keep the main feed dense, move raw input into session detail and export output, and show the latest event with useful fields such as source, code, and Kitty baseCode.
Add test that reproduces Ctrl+C when Kitty reports an alternate base layout for a non-Latin IME. For anomalyco/opencode#21163