Skip to content

Commit

Permalink
✨ Allow some more common list-navigation keys in option lists
Browse files Browse the repository at this point in the history
For those who are used to viewing things with the likes of `less`, for
example. While not an ideal recreation, these are enough to cope with my
muscle memory.
  • Loading branch information
davep committed Jan 27, 2025
1 parent 683509b commit d175e30
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/peplum/app/widgets/extended_option_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ class OptionListEx(OptionList):
BINDINGS = [
Binding("j, right", "cursor_down", show=False),
Binding("k, left", "cursor_up", show=False),
Binding("<", "first", show=False),
Binding(">", "last", show=False),
Binding("space", "page_down", show=False),
]

@property
Expand Down

0 comments on commit d175e30

Please sign in to comment.