refactor: Revert screen timeout to original 10ms value
This commit is contained in:
parent
394f188b72
commit
e525aef5c2
2
gtm
2
gtm
|
|
@ -1446,7 +1446,7 @@ def main(stdscr, filename, show_add, show_del, mouse, show_diff=True, wrap_lines
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
stdscr.keypad(True)
|
stdscr.keypad(True)
|
||||||
stdscr.timeout(50) # Less aggressive timeout (50ms instead of 10ms)
|
stdscr.timeout(10)
|
||||||
|
|
||||||
if curses.has_colors():
|
if curses.has_colors():
|
||||||
curses.use_default_colors()
|
curses.use_default_colors()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue