Ctrl+Enter resolves to Enter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Terminator |
New
|
Undecided
|
Unassigned | ||
terminator (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Ctrl-Enter (and Shift-Enter) resolves to Enter (ie. as-is Enter was pressed).
It was not the case when using an older version of Terminator.
This forbids binding Ctrl+Enter to a function/program (zsh accept-autocomplete for me).
Is it possible to distinguish between Enter and Ctrl+Enter ?
Version not working: 1.91-1 (Ubuntu 17.10)
In Terminator:
$ showkey -a
Press any keys - Ctrl-D will terminate this program
^M 13 0015 0x0d <--- Enter
^M 13 0015 0x0d <--- Ctrl-Enter, was ^J before
^M 13 0015 0x0d <--- Shift-Enter
In LXterminal:
$ showkey -a
Press any keys - Ctrl-D will terminate this program
^M 13 0015 0x0d <--- Enter
^J 10 0012 0x0a <--- Ctrl-Enter
^M 13 0015 0x0d <--- Shift-Enter
affects: | ubuntu → terminator (Ubuntu) |
This was changed in VTE version 0.40 to match xterm and pretty much all other terminal emulators, see also https:/ /bugzilla. gnome.org/ show_bug. cgi?id= 743258 and https:/ /git.gnome. org/browse/ vte/commit/ ?id=c91ad5640.
LXTerminal is one of the last few VTE-based terminal emulators that still supports ancient, unmaintained and terribly buggy GTK2-based VTE rather than forcing GTK3. So it shouldn't be treated as a reference for the desired behavior.