summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2012-06-20 17:57:56 -0400
committerKristian Høgsberg <krh@bitplanet.net>2012-06-20 17:57:56 -0400
commit71a4cf4374770f9919a07989746195c847f8789a (patch)
tree8b72f25bf66b31a3d01284028e8729a30074208b
parenta1627927c756d91c85448ff96ab437d0903e141f (diff)
terminal: Send ASCII DEL on for backspace
-rw-r--r--clients/terminal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/clients/terminal.c b/clients/terminal.c
index d747a63e..f959acaa 100644
--- a/clients/terminal.c
+++ b/clients/terminal.c
@@ -2123,6 +2123,8 @@ key_handler(struct window *window, struct input *input, uint32_t time,
break;
case XKB_KEY_BackSpace:
+ ch[len++] = 0x7f;
+ break;
case XKB_KEY_Tab:
case XKB_KEY_Linefeed:
case XKB_KEY_Clear: