Fixed annoying cursor reset behavior on scroll

This commit is contained in:
Mark Qvist 2026-05-06 14:18:58 +02:00
parent 137b64e677
commit a46525cae9
2 changed files with 8 additions and 2 deletions

View file

@ -802,7 +802,7 @@ class LinkableText(urwid.Text):
super().__init__(text, align=align)
self.delegate = delegate
self._cursor_position = 0
self.key_timeout = 3
self.key_timeout = 2
self.in_columns = False
if self.delegate != None:
self.delegate.last_keypress = 0