summaryrefslogtreecommitdiffstats
path: root/server.c
diff options
context:
space:
mode:
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);