You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that I have to release the Control key after Ctrl+S, before being able to use another Ctrl+Key shortcut. This seems to happen only if the first command is Ctrl+S, but regardless of what command comes after.
Observed behavior:
Pressing Ctrl+S, then Ctrl+Q saves the file, then writes a q at the cursor position, if the Control key is not released between both commands.
Expected behavior:
Pressing Ctrl+S, then Ctrl+Q should save then exit, regardless of whether the Control key was released or not.
The text was updated successfully, but these errors were encountered:
What OS and terminal do you use? Is q entered in the command bar if you press Ctrl+E then Ctrl+Q, as an example?
The Control key was detected (can be checked using > raw) when I tested with the terminal emulators below:
st
Termux - keys pressed using scrcpy when testing
xterm
Command Prompt (conhost.exe)
Windows Terminal
I was also able to move the cursor between numbers in # 111 222 333. Ctrl+LeftArrow was detected, when I pressed the left arrow key after pressing Ctrl+RightArrow then only held down the Control key. The results were the same with the programs below (shells):
busybox ash
bash - uses readline like a lot of other programs
Pressing Ctrl+S, then Ctrl+Q should save then exit, regardless of whether the Control key was released or not.
I do not think the Control key should be detected when released. I think text is usually expeced to be entered when no modifier keys are pressed down.
It seems that I have to release the Control key after Ctrl+S, before being able to use another Ctrl+Key shortcut. This seems to happen only if the first command is Ctrl+S, but regardless of what command comes after.
Observed behavior:
Pressing Ctrl+S, then Ctrl+Q saves the file, then writes a
q
at the cursor position, if the Control key is not released between both commands.Expected behavior:
Pressing Ctrl+S, then Ctrl+Q should save then exit, regardless of whether the Control key was released or not.
The text was updated successfully, but these errors were encountered: