Commits

Andreas Stührk committed 9553376

C-a and C-e for urwid.

  • Participants
  • Parent commits f80b76f

Comments (0)

Files changed (2)

File bpython/test/test_keys.py

File contents unchanged.

File bpython/urwid.py

 def load_urwid_command_map(config):
     urwid.command_map[key_dispatch[config.up_one_line_key]] = 'cursor up'
     urwid.command_map[key_dispatch[config.down_one_line_key]] = 'cursor down'
+    urwid.command_map[key_dispatch['C-a']] = 'cursor max left'
+    urwid.command_map[key_dispatch['C-e']] = 'cursor max right'
 """
             'clear_line': 'C-u',
             'clear_screen': 'C-l',