summaryrefslogtreecommitdiff
path: root/sdn.cpp
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2020-10-23 01:36:30 +0200
committerPřemysl Eric Janouch <p@janouch.name>2020-10-23 01:37:14 +0200
commit231348597066a5c70a89c70410371d1481fb3ae6 (patch)
treee64d8d2cc2835b96ecd916acc345d52eee70e527 /sdn.cpp
parent20c883fb8acede8854c1d6322938d2baaa2fe0bd (diff)
downloadsdn-231348597066a5c70a89c70410371d1481fb3ae6.tar.gz
sdn-231348597066a5c70a89c70410371d1481fb3ae6.tar.xz
sdn-231348597066a5c70a89c70410371d1481fb3ae6.zip
Bind C-d in the editor
We do get these as a key, after all. Closes #4
Diffstat (limited to 'sdn.cpp')
-rw-r--r--sdn.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdn.cpp b/sdn.cpp
index ec74df7..caca370 100644
--- a/sdn.cpp
+++ b/sdn.cpp
@@ -455,7 +455,7 @@ static map<wint_t, action> g_input_actions {
// Sometimes terminfo is wrong, we need to accept both of these
{L'\b', ACTION_INPUT_B_DELETE}, {CTRL ('?'), ACTION_INPUT_B_DELETE},
{KEY (BACKSPACE), ACTION_INPUT_B_DELETE}, {KEY (DC), ACTION_INPUT_DELETE},
- {CTRL ('U'), ACTION_INPUT_B_KILL_LINE},
+ {CTRL ('D'), ACTION_INPUT_DELETE}, {CTRL ('U'), ACTION_INPUT_B_KILL_LINE},
{CTRL ('K'), ACTION_INPUT_KILL_LINE},
{CTRL ('V'), ACTION_INPUT_QUOTED_INSERT},
{CTRL ('B'), ACTION_INPUT_BACKWARD}, {KEY (LEFT), ACTION_INPUT_BACKWARD},