-
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 12 replies
-
Nano works completely fine for me. Are you running into this? https://ghostty.org/docs/help/terminfo |
Beta Was this translation helpful? Give feedback.
-
Also, the "it works for me" argument gets old pretty quick. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
OK; so I guess it's the function keys that I use when saving in nano that somehow leaks into the ... filename: ghostty/src/input/function_keys.zig Line 206 in a8e5eef Hmm... |
Beta Was this translation helpful? Give feedback.
-
OK, now I see what's happening. What I do when saving a file in
This is muscle memory for me, but if I remember to let go of the |
Beta Was this translation helpful? Give feedback.
-
OK, now I see what's happening. I have updated the issue/topic title. The best config workaround I have found is:
But this smells like a bug. |
Beta Was this translation helpful? Give feedback.
-
Many applications would then include all the shells I have tested with this; bash, ksh (prints |
Beta Was this translation helpful? Give feedback.
@bep You can make Ctrl+Enter behave the same as enter with
Unlike other terminals, Ghostty encodes modified key presses using the CSI u (fixterms) protocol by default. Many applications don't know how to interpret these sequences and so will print them to the console instead (they should probably just be ignoring them, but alas).
In this case, Ctrl+Enter is being encoded using Xterm's "modify other keys" encoding, i.e.
CSI 27;5;13~
. I am not sure why this isn't using CSIu, but the conclusion is the same in any case.