* layout.c (init_curses) [!HAVE_SLANG]: Set ESCDELAY to 0 if
possible to prevent ncurses from waiting after escape.
Этот коммит содержится в:
родитель
2990245111
Коммит
540cccc4d6
@ -1,3 +1,8 @@
|
||||
2001-05-30 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* layout.c (init_curses) [!HAVE_SLANG]: Set ESCDELAY to 0 if
|
||||
possible to prevent ncurses from waiting after escape.
|
||||
|
||||
2001-05-29 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* cmd.c (quick_cd_cmd) [HAVE_GNOME]: Disable.
|
||||
|
@ -599,6 +599,13 @@ void init_curses ()
|
||||
void init_curses (void)
|
||||
{
|
||||
initscr();
|
||||
#ifdef HAVE_ESCDELAY
|
||||
/*
|
||||
* If ncurses exports the ESCDELAY variable it should be set to 0
|
||||
* or you'll have to press Esc three times to dismiss a dialog box.
|
||||
*/
|
||||
ESCDELAY = 0;
|
||||
#endif
|
||||
if (!status_using_ncurses)
|
||||
do_enter_ca_mode ();
|
||||
mc_raw_mode ();
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user