feat: Add support for line numbers in main function signature
This commit is contained in:
parent
e4b65b98d1
commit
3bf54e38c7
2
gtm
2
gtm
|
|
@ -882,7 +882,7 @@ def handle_keyboard_input(key, state: AppState) -> AppState:
|
|||
|
||||
# --- Main Application ---
|
||||
|
||||
def main(stdscr, filename, show_diff, show_add, show_del, mouse, wrap_lines=True):
|
||||
def main(stdscr, filename, show_diff, show_add, show_del, mouse, wrap_lines=True, show_line_numbers=False):
|
||||
try:
|
||||
curses.curs_set(0)
|
||||
except:
|
||||
|
|
|
|||
Loading…
Reference in New Issue