Browse Source

Use right arrow to select/deselect in CliMultiMenu

For a menu where we only select one option right arrow is an okay-choice
for accept, but with multiple option selection toggling feels more
natural.
Sebastian Lohff 1 year ago
parent
commit
12552d8e5b
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      clintermission/climenu.py

+ 1
- 0
clintermission/climenu.py View File

@@ -350,6 +350,7 @@ class CliMultiMenu(CliMenu):
350 350
 
351 351
     def _register_extra_kb_cbs(self, kb):
352 352
         @kb.add('space', filter=~is_searching)
353
+        @kb.add('right', filter=~is_searching)
353 354
         def mark(event):
354 355
             if self._pos not in self._multi_selected:
355 356
                 self._multi_selected.append(self._pos)

Loading…
Cancel
Save