summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2016-08-14 10:24:36 +0200
committerAlfred E. Heggestad <aeh@db.org>2016-08-14 10:24:36 +0200
commit961ced0a7b83e5d68de41a9442bbd4c810ad8a59 (patch)
tree37a21f190b4f2ec4670c13bd1b8e30fe59a27863 /src
parente03120b32a343e27cfdb631099586f0350b8be41 (diff)
cmd: also ignore KEYCODE_NONE in editor
Diffstat (limited to 'src')
-rw-r--r--src/cmd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd.c b/src/cmd.c
index 7cf3e80..9f29915 100644
--- a/src/cmd.c
+++ b/src/cmd.c
@@ -183,6 +183,7 @@ static int editor_input(struct commands *commands, struct mbuf *mb, char key,
*del = true;
return re_hprintf(pf, "\nCancel\n");
+ case KEYCODE_NONE:
case KEYCODE_REL:
break;