fix: Change line number toggle key from 'l' to 'L'
This commit is contained in:
parent
c4be052790
commit
8eaad2ae49
2
gtm
2
gtm
|
|
@ -1003,7 +1003,7 @@ def handle_keyboard_input(key, state: AppState) -> AppState:
|
||||||
return toggle_sidebar(state)
|
return toggle_sidebar(state)
|
||||||
elif key == ord('w'):
|
elif key == ord('w'):
|
||||||
return replace(state, wrap_lines=not state.wrap_lines)
|
return replace(state, wrap_lines=not state.wrap_lines)
|
||||||
elif key == ord('l'):
|
elif key == ord('L'):
|
||||||
return replace(state, show_line_numbers=not state.show_line_numbers)
|
return replace(state, show_line_numbers=not state.show_line_numbers)
|
||||||
elif key in [110, ord('n')]: # ASCII code for 'n'
|
elif key in [110, ord('n')]: # ASCII code for 'n'
|
||||||
if state.search_matches:
|
if state.search_matches:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue