diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-07-23 13:44:03 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-07-23 13:44:03 +0000 |
commit | 15cda80e710eb051ec95a019d436e9f3e1762973 (patch) | |
tree | 5b1c95e41ef7392300e2a7785ec08e35b8e59be9 /usr.bin | |
parent | 751fa9dd817e251707810d90288e186ca23e6949 (diff) |
C-d is delete as well in emacs mode.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/tmux/mode-key.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/mode-key.c b/usr.bin/tmux/mode-key.c index 2c274d71e39..a3872eec170 100644 --- a/usr.bin/tmux/mode-key.c +++ b/usr.bin/tmux/mode-key.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mode-key.c,v 1.3 2009/07/21 17:57:29 nicm Exp $ */ +/* $OpenBSD: mode-key.c,v 1.4 2009/07/23 13:44:02 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net> @@ -153,6 +153,7 @@ mode_key_lookup_emacs(struct mode_key_data *mdata, int key) case '\010': case '\177': return (MODEKEYCMD_BACKSPACE); + case '\004': case KEYC_DC: return (MODEKEYCMD_DELETE); case '\011': |