mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-13 04:54:23 +00:00
[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:
parent
64da09675e
commit
51c44a7c5a
@ -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
|
||||||
|
|
||||||
|
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user