Commits

Rodrigo Bistolfi  committed 76f1255

Use tab for navigation in urwid ui

  • Participants
  • Parent commits aff383c

Comments (0)

Files changed (1)

File vinstall/ui/urwid.py

         ('pb complete',     'dark blue',    'yellow'),
         ]
 
+    urwid.command_map["esc"] = "cursor down"
+    urwid.command_map["tab"] = "cursor down"
+    urwid.command_map["shift tab"] = "cursor up"
+    urwid.command_map["j"] = "cursor down"
+    urwid.command_map["k"] = "cursor up"
+
     def __init__(self):
         """View initialization.