Ctrl+Enter resolves to Enter

Bug #1749290 reported by Thomas Queste on 2018-02-13
This bug affects 1 person
Affects Status Importance Assigned to Milestone
terminator (Ubuntu)

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) on 2018-02-17
affects: ubuntu → terminator (Ubuntu)
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.

Thomas Queste (tomsquest) wrote :

Thanks Egmont for the references.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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