diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2020-10-23 01:36:30 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2020-10-23 01:37:14 +0200 |
commit | 231348597066a5c70a89c70410371d1481fb3ae6 (patch) | |
tree | e64d8d2cc2835b96ecd916acc345d52eee70e527 | |
parent | 20c883fb8acede8854c1d6322938d2baaa2fe0bd (diff) | |
download | sdn-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
-rw-r--r-- | sdn.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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}, |