1
0
mirror of https://github.com/tmate-io/tmate-ssh-server.git synced 2020-11-18 19:53:51 -08:00

Sync OpenBSD patchset 169:

C-d is delete as well in emacs mode.
This commit is contained in:
Tiago Cunha 2009-07-23 23:29:53 +00:00
parent f2451c1e29
commit 53c1b32e02

View File

@ -1,4 +1,4 @@
/* $Id: mode-key.c,v 1.14 2009-07-22 16:24:59 tcunha Exp $ */ /* $Id: mode-key.c,v 1.15 2009-07-23 23:29:53 tcunha Exp $ */
/* /*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net> * 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 '\010':
case '\177': case '\177':
return (MODEKEYCMD_BACKSPACE); return (MODEKEYCMD_BACKSPACE);
case '\004':
case KEYC_DC: case KEYC_DC:
return (MODEKEYCMD_DELETE); return (MODEKEYCMD_DELETE);
case '\011': case '\011':