Ctrl+Enter resolves to Enter

Bug #1749290 reported by Thomas Queste
12
This bug affects 2 people
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

Paul White (paulw2u)
affects: ubuntu → terminator (Ubuntu)
Revision history for this message
Egmont Koblinger (egmont-gmail) wrote :

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.

Revision history for this message
Thomas Queste (tomsquest) wrote :

Thanks Egmont for the references.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in terminator (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.