mirror of
https://github.com/paul-nameless/tg
synced 2024-11-25 05:10:22 +00:00
Decrease esc delay
This commit is contained in:
parent
b84ebdb0d1
commit
31c2b6dab2
2 changed files with 5 additions and 0 deletions
|
@ -56,6 +56,7 @@ def main():
|
|||
library_path=config.TDLIB_PATH,
|
||||
)
|
||||
tg.login()
|
||||
utils.set_shorter_esc_delay()
|
||||
|
||||
wrapper(partial(run, tg))
|
||||
|
||||
|
|
|
@ -205,3 +205,7 @@ class suspend:
|
|||
self.view.stdscr.keypad(True)
|
||||
curses.curs_set(0)
|
||||
curses.doupdate()
|
||||
|
||||
|
||||
def set_shorter_esc_delay(delay=25):
|
||||
os.environ.setdefault("ESCDELAY", str(delay))
|
||||
|
|
Loading…
Reference in a new issue