[Console] Remove the delay after pressing ESC key

The env variable ESCDELAY specifies the time in ms which ncurses waits
for a character sequence. With a default value of 1000, it produces a
1 second delay when pressing the ESC key to close dialogs.

Set this variable to 0 to get instant respons when pressing ESC.
This commit is contained in:
bendikro 2016-01-17 18:17:35 +01:00 committed by Calum Lind
parent 64da09675e
commit 51c44a7c5a
2 changed files with 1 additions and 1 deletions

View File

@ -13,6 +13,7 @@ from __future__ import print_function
import argparse import argparse
import locale import locale
import logging import logging
import os
import shlex import shlex
import sys import sys

View File

@ -51,7 +51,6 @@ You can scroll a popup window that doesn't fit its content (like \
this one) using the up/down arrows, PgUp/PgDown and Home/End keys. this one) using the up/down arrows, PgUp/PgDown and Home/End keys.
All popup windows can be closed/canceled by hitting the Esc key \ All popup windows can be closed/canceled by hitting the Esc key \
(you might need to wait a second for an Esc to register) \
or the 'q' key (does not work for dialogs like the add torrent dialog) or the 'q' key (does not work for dialogs like the add torrent dialog)
The actions you can perform and the keys to perform them are as follows: The actions you can perform and the keys to perform them are as follows: