summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorNicholas Hughart <mekius@mekius.net>2012-07-11 00:18:28 +0000
committerNicholas Hughart <mekius@mekius.net>2012-07-11 00:18:28 +0000
commit9ef6a138c5290e7caf69846fa9a0dfe99f13c6b6 (patch)
tree5e052dac7505e9687105ef23dacdfae214ac23b9 /src/bin
parent5526a33a40b0212a6ae380c9eee81a48e10d927c (diff)
Avoid jumping on keypress for non-character keys.
Without this fix, trying to use shift+page up/down to scroll is very cumbersome. Other similar key combinations may exist, but I'm not sure. SVN revision: 73546
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/termio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/termio.c b/src/bin/termio.c
index 8894c5e..91146d7 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -1074,7 +1074,7 @@ _smart_cb_key_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__,
1074 } 1074 }
1075 } 1075 }
1076 } 1076 }
1077 if (sd->jump_on_keypress) 1077 if (sd->jump_on_keypress && ev->string && (ev->string[0] != 0))
1078 { 1078 {
1079 sd->scroll = 0; 1079 sd->scroll = 0;
1080 _smart_update_queue(data, sd); 1080 _smart_update_queue(data, sd);