Mercurial > urwid-satext
changeset 87:a0dbf973befa
keys: added FOCUS_UP FOCUS_DOWN FOCUS_LEFT and FOCUS_RIGHT
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 06 Sep 2014 17:34:43 +0200 |
parents | ea5b9a211bbb |
children | c95462c21966 |
files | urwid_satext/keys.py |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/urwid_satext/keys.py Thu Sep 04 18:43:39 2014 +0200 +++ b/urwid_satext/keys.py Sat Sep 06 17:34:43 2014 +0200 @@ -172,6 +172,10 @@ ("columns_roller", "COLUMNS_ROLLER_LEFT"): 'left', ("columns_roller", "COLUMNS_ROLLER_RIGHT"): 'right', ("focus", "FOCUS_SWITCH"): 'tab', + ('focus', "FOCUS_UP"): 'ctrl up', + ('focus', "FOCUS_DOWN"): 'ctrl down', + ('focus', "FOCUS_LEFT"): 'ctrl left', + ('focus', "FOCUS_RIGHT"): 'ctrl right', } action_key_map = ActionMap(keys)