From b7f94bff3d3fe6d1355bf8b3af06c29ca6b11ee6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Thu, 21 Jun 2012 12:29:36 -0400 Subject: [PATCH] terminal: Handle Alt-Backspace --- clients/terminal.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clients/terminal.c b/clients/terminal.c index ec0f1de5..e372d4cc 100644 --- a/clients/terminal.c +++ b/clients/terminal.c @@ -2148,6 +2148,8 @@ key_handler(struct window *window, struct input *input, uint32_t time, break; case XKB_KEY_BackSpace: + if (modifiers & MOD_ALT_MASK) + ch[len++] = 0x1b; ch[len++] = 0x7f; break; case XKB_KEY_Tab: