Browse Source

Add k/j as up/down keys

option-search
Sebastian Lohff 3 years ago
parent
commit
2f2049bfef
  1. 2
      clintermission/climenu.py

2
clintermission/climenu.py

@ -185,10 +185,12 @@ class CliMenu: @@ -185,10 +185,12 @@ class CliMenu:
event.app.exit()
@self._kb.add('down')
@self._kb.add('j')
def down(event):
self.next_item(1)
@self._kb.add('up')
@self._kb.add('k')
def up(event):
self.next_item(-1)

Loading…
Cancel
Save