projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c6fb99
)
terminal: Handle Alt-Backspace
author
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 21 Jun 2012 16:29:36 +0000
(12:29 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 21 Jun 2012 16:32:23 +0000
(12:32 -0400)
clients/terminal.c
patch
|
blob
|
history
diff --git
a/clients/terminal.c
b/clients/terminal.c
index
ec0f1de
..
e372d4c
100644
(file)
--- 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: