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