Bug 344877 - Ctrl+Enter behaves identically to Enter
Summary: Ctrl+Enter behaves identically to Enter
Status: RESOLVED NOT A BUG
Alias: None
Product: konsole
Classification: Applications
Component: keyboard (show other bugs)
Version: 2.14.2
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-05 18:08 UTC by Bobby
Modified: 2018-03-05 11:52 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bobby 2015-03-05 18:08:59 UTC
Currently konsole copies xterms behaviour of Ctrl+Enter and Enter sending the same character when pressed (the newline) so it is not possible to differentiate between them in programs like vim.  While this is not uncommon in older terminals, newer ones send different character sets so Ctrl+Enter can be used as a shortcut combination.

Reproducible: Always

Steps to Reproduce:
1. Open konsole
2. Hit Ctrl+v (to view keyboard output) 
2. Press Enter and view results
3. Hit Ctrl+v
4> Press Ctrl+Enter and view results

Actual Results:  
^M
^M

Expected Results:  
^M
<NL>
Comment 1 Ahmad Samir 2018-03-05 11:52:33 UTC
You can do that in konsole by adding an entry in the key bindings editor for:
Return-Shift+Ctrl

and set it to send whatever escape sequence you want. Note that Enter is the key on the keypad (numpad), whereas Return is the Enter key in the middle of the keyboard (usually above Shift).

Closing as invalid, as you can set Ctrl+Return to send any escape sequence.