Skip to content
Discussion options

You must be logged in to vote

this is not a ghostty problem like you noted the terminal inspector and programs like kitten show-key register enter and numpad_enter exactly the same

now if opencode supports kitty keyboard protocol that is entirely their fault below is the output of kitten show-key -m kitty

ENTER PRESS
CSI 13 u

ENTER RELEASE
CSI 13 ; 1 : 3 u

KP_ENTER PRESS
CSI 57414 u

KP_ENTER RELEASE
CSI 57414 ; 1 : 3 u

like i stated above in non kitty mode enter and numpad enter are the exact same

^M              \r     (this first entry was `enter`)
^M              \r     (this second entry was 'numpad enter')

https://github.com/anomalyco/opencode/blob/23d85f47397c594e62929682b27835099b788fdf/packages/opencode/s…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rhodes-b
Comment options

Answer selected by Mattwmaster58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-confirmation A reproduction has been reported, but the bug hasn't been confirmed or reproduced by a maintainer.
2 participants