summaryrefslogtreecommitdiffstats
path: root/server.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-09-21 19:24:37 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-09-21 19:24:37 +0000
commit1fefbb7a85b172dfb0d3323619f989280512b506 (patch)
treeba9098d72d604c8ee3902358742c38c09c08431c /server.c
parentf14510825856746cbade5ec6377c2ad3f7d9a269 (diff)
Pass through backspace for now.
Diffstat (limited to 'server.c')
-rw-r--r--server.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/server.c b/server.c
index 7dd68769..b56ec012 100644
--- a/server.c
+++ b/server.c
@@ -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);