Mercurial > urwid-satext
comparison urwid_satext/keys.py @ 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 | fdd0543677d4 |
comparison
equal
deleted
inserted
replaced
86:ea5b9a211bbb | 87:a0dbf973befa |
---|---|
170 ("menu_roller", "MENU_ROLLER_DOWN"): 'down', | 170 ("menu_roller", "MENU_ROLLER_DOWN"): 'down', |
171 ("menu_roller", "MENU_ROLLER_RIGHT"): 'right', | 171 ("menu_roller", "MENU_ROLLER_RIGHT"): 'right', |
172 ("columns_roller", "COLUMNS_ROLLER_LEFT"): 'left', | 172 ("columns_roller", "COLUMNS_ROLLER_LEFT"): 'left', |
173 ("columns_roller", "COLUMNS_ROLLER_RIGHT"): 'right', | 173 ("columns_roller", "COLUMNS_ROLLER_RIGHT"): 'right', |
174 ("focus", "FOCUS_SWITCH"): 'tab', | 174 ("focus", "FOCUS_SWITCH"): 'tab', |
175 ('focus', "FOCUS_UP"): 'ctrl up', | |
176 ('focus', "FOCUS_DOWN"): 'ctrl down', | |
177 ('focus', "FOCUS_LEFT"): 'ctrl left', | |
178 ('focus', "FOCUS_RIGHT"): 'ctrl right', | |
175 } | 179 } |
176 | 180 |
177 action_key_map = ActionMap(keys) | 181 action_key_map = ActionMap(keys) |