From 9ef6a138c5290e7caf69846fa9a0dfe99f13c6b6 Mon Sep 17 00:00:00 2001 From: Nicholas Hughart Date: Wed, 11 Jul 2012 00:18:28 +0000 Subject: [PATCH] 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 --- src/bin/termio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/termio.c b/src/bin/termio.c index 8894c5ed..91146d7a 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__, } } } - if (sd->jump_on_keypress) + if (sd->jump_on_keypress && ev->string && (ev->string[0] != 0)) { sd->scroll = 0; _smart_update_queue(data, sd);