projects
/
platform
/
upstream
/
kmscon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
054955c
)
tsm: handle ISO_Left_Tab
author
David Herrmann
<dh.herrmann@googlemail.com>
Mon, 19 Nov 2012 15:26:38 +0000
(16:26 +0100)
committer
David Herrmann
<dh.herrmann@googlemail.com>
Mon, 19 Nov 2012 15:26:38 +0000
(16:26 +0100)
If Shift+Tab is pressed, most keyboard layouts map this to ISO_Left_Tab
which itself should be converted to \e[Z.
Reported-by: Vladimir Kravets
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/tsm_vte.c
patch
|
blob
|
history
diff --git
a/src/tsm_vte.c
b/src/tsm_vte.c
index
81b287f
..
9315281
100644
(file)
--- a/
src/tsm_vte.c
+++ b/
src/tsm_vte.c
@@
-2392,6
+2392,9
@@
bool tsm_vte_handle_keyboard(struct tsm_vte *vte, uint32_t keysym,
case XKB_KEY_KP_Tab:
vte_write(vte, "\x09", 1);
return true;
+ case XKB_KEY_ISO_Left_Tab:
+ vte_write(vte, "\e[Z", 3);
+ return true;
case XKB_KEY_Linefeed:
vte_write(vte, "\x0a", 1);
return true;