Description
Providing common control character (e.g. <Delete>) and modifier key (e.g. ^-signals, ⌥-navigation commands) input into GVIM's :sh shell inserts character sequences instead of executing the input's respective expected behavior.
Affected Control Character(s):
Affected Modifier Key(s):
N.B. There are likely other modifier key combinations that also insert characters, but I've not tested them exhaustively.
Steps to Reproduce
- Open GVIM
- Type
:sh
- Press
<Enter>
- Type
<Delete>
- Type a
^-signal (e.g. ^C, ^Z, ^\, ^T, etc.)
- Type an
⌥-navigation command (e.g. ⌥+←, ⌥+→, etc.)
Expected Behavior
<Delete> should delete the character(s) preceding the cursor.
^C should send a SIGINT, causing the current process to terminate.
⌥+← should move the cursor back one word, ⌥+→ should move the cursor forward one word.
Actual Behavior
<Delete>

- Single
<Delete> press inserts ?b
- Two consecutive
<Delete> presses inserts ?b followed by ?[J, to the left, producing ?[J?b
- Holding
<Delete> for ~3 seconds inserts ?[J?[J?[J?[[J?b?[[J?b?[[J?b?[Jbb
^-signal

^C inserts ??C
- Other signals return their respective combination key prepended by
?? e.g. ??Z, etc.
⌥-navigation command

⌥+← inserts ?[Jkl
⌥+→ inserts ?[Jkr
Logs
N/A
Environment
- Platform and OS Version: macOS Sonoma 14.3
- Playbit Version: 0.7.1
Description
Providing common control character (e.g.
<Delete>) and modifier key (e.g.^-signals,⌥-navigation commands) input into GVIM's:shshell inserts character sequences instead of executing the input's respective expected behavior.Affected Control Character(s):
<Delete>Affected Modifier Key(s):
^⌥N.B. There are likely other modifier key combinations that also insert characters, but I've not tested them exhaustively.
Steps to Reproduce
:sh<Enter><Delete>^-signal (e.g.^C,^Z,^\,^T, etc.)⌥-navigation command (e.g.⌥+←,⌥+→, etc.)Expected Behavior
<Delete>should delete the character(s) preceding the cursor.^Cshould send a SIGINT, causing the current process to terminate.⌥+←should move the cursor back one word,⌥+→should move the cursor forward one word.Actual Behavior
<Delete><Delete>press inserts?b<Delete>presses inserts?bfollowed by?[J, to the left, producing?[J?b<Delete>for ~3 seconds inserts?[J?[J?[J?[[J?b?[[J?b?[[J?b?[Jbb^-signal^Cinserts??C??e.g.??Z, etc.⌥-navigation command⌥+←inserts?[Jkl⌥+→inserts?[JkrLogs
N/A
Environment