fix: Change line number toggle key from 'l' to 'L'

This commit is contained in:
n loewen 2025-06-08 02:34:58 +01:00 committed by n loewen (aider)
parent c4be052790
commit 8eaad2ae49
1 changed files with 1 additions and 1 deletions

2
gtm
View File

@ -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: