BUG: Ghostty send Ctrl+A Ctrl+E when Cmd+Left and Cmd-Right #7102
-
Issue DescriptionCMD+arrow keys are hardcoded to send CTRL+A CTRL+E over ssh. Instead of going start/end of the line I get whatever the remote running app's reaction to Ctrl+A is. For example in This is opinionated and unexpected. And becomes a bigger issue with an external non-mac keyboard, where I can't use Many, many people use their Macs in clamshell (closed) mode with external monitors and mechanical kayboards and we just can't use Ghostty normally over SSH Reproduction Steps
Ghostty Version
OS Version InformationMacosx Sequoia 15.3.2 (Linux only) Display ServerNone (Linux only) Desktop Environment/Window ManagerNo response Ghostty Configurationno config overrides Additional Relevant ConfigurationNo response I acknowledge that:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Make sure you have your terminfo, of course. Could you look for I'm also going to link this: #6929 (comment); I sent a snippet to correct it there too. |
Beta Was this translation helpful? Give feedback.
-
@00-kat I do
And in
But I haven't configured those, guess it comes as the default (which is what my issue is about) |
Beta Was this translation helpful? Give feedback.
Ok. I think I understand whats' happening. MacOS uses
ctrl+a
andctrl+e
for "Home/End". Not just in terminal - everywhere, like in TextEdit for example. This is a weird combo so lots of apps modifycmd+left
to translate toctrl+a
. Because MacOS.So that when people type
Cmd+left
in termianl - it goes to the beginning of line.However SSH does NOT use MacOS shortcuts. In SSH
Ctrl+A
is just that. An effingCtrl+A
. Which is^A
Ok, I admit there's no solution for that. MacOS sucks.
Thanks for looking into this