adjust command mode key.

SVN revision: 75302
This commit is contained in:
Carsten Haitzler 2012-08-16 03:50:01 +00:00
parent dd94047ffc
commit aca951e7c3
2 changed files with 9 additions and 2 deletions

9
README
View File

@ -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:

View File

@ -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;