diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-09-21 19:24:37 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-09-21 19:24:37 +0000 |
commit | 1fefbb7a85b172dfb0d3323619f989280512b506 (patch) | |
tree | ba9098d72d604c8ee3902358742c38c09c08431c /server.c | |
parent | f14510825856746cbade5ec6377c2ad3f7d9a269 (diff) |
Pass through backspace for now.
Diffstat (limited to 'server.c')
-rw-r--r-- | server.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: server.c,v 1.9 2007-09-20 18:03:23 nicm Exp $ */ +/* $Id: server.c,v 1.10 2007-09-21 19:24:37 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -575,6 +575,12 @@ user_input(struct client *c, size_t in) case '\005': key = KEYC_LL; goto again; + case '\010': + key = KEYC_BACKSPACE; + goto again; + case '\177': + key = KEYC_DC; + goto again; case '\013': c->buf[c->idx + 1] = '\0'; input_store_zero(c->out, CODE_CURSOROFF); |