Make 'b' work as page up
This commit is contained in:
parent
dea1a46759
commit
ca68e79572
4
gtm
4
gtm
|
|
@ -1518,7 +1518,7 @@ def handle_keyboard_input(key, state: AppState) -> AppState:
|
|||
return move_commit_selection(state, -1)
|
||||
elif key in [curses.KEY_NPAGE, ord(' ')]:
|
||||
return page_commit_selection(state, 1)
|
||||
elif key in [curses.KEY_PPAGE, 8, 127, curses.KEY_SR]:
|
||||
elif key in [curses.KEY_PPAGE, 8, 127, 98, curses.KEY_SR]:
|
||||
return page_commit_selection(state, -1)
|
||||
|
||||
elif state.focus == "right":
|
||||
|
|
@ -1528,7 +1528,7 @@ def handle_keyboard_input(key, state: AppState) -> AppState:
|
|||
return scroll_right_pane(state, -1)
|
||||
elif key in [curses.KEY_NPAGE, ord(' ')]:
|
||||
return page_right_pane(state, 1)
|
||||
elif key in [curses.KEY_PPAGE, 8, 127, curses.KEY_SR]:
|
||||
elif key in [curses.KEY_PPAGE, 8, 127, 98, curses.KEY_SR]:
|
||||
return page_right_pane(state, -1)
|
||||
return state
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue