From aca951e7c35ac6560507bc9e87a5853c27a70375 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Thu, 16 Aug 2012 03:50:01 +0000 Subject: [PATCH] adjust command mode key. SVN revision: 75302 --- README | 9 ++++++++- src/bin/termio.c | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README b/README index 7c3aa009..14e70394 100644 --- a/README +++ b/README @@ -52,7 +52,14 @@ Shift+Keypad-Plus = Font size up 1 Shift+Keypad-Minus = Font size down 1 Shift+Keypad-Multiply = Reset font size to 10 Shift+Keypad-Divide = Copy highlight to Clipboard (same as ctrl+c in gui apps) -Alt+backtick(grave) = Enter command mode +Alt+Home = Enter command mode (enter commands to control terminology itself) + +Command mode commands currently understood: + +f = Reset font to default settign saved in config +f+ = Increase fontsize +f- = Decreate fontsize +fb = Display big font size (10x20 bitmap, or size 20 with scalable). Mouse controls: diff --git a/src/bin/termio.c b/src/bin/termio.c index 77281f07..23c34d1c 100644 --- a/src/bin/termio.c +++ b/src/bin/termio.c @@ -850,7 +850,7 @@ _smart_cb_key_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, if ((evas_key_modifier_is_set(ev->modifiers, "Alt")) && (!evas_key_modifier_is_set(ev->modifiers, "Shift")) && (!evas_key_modifier_is_set(ev->modifiers, "Control")) && - (!strcmp(ev->keyname, "grave"))) + (!strcmp(ev->keyname, "Home"))) { evas_object_smart_callback_call(data, "cmdbox", NULL); goto end;