mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* layout.c (init_curses) [!HAVE_SLANG]: Set ESCDELAY to 0 if
possible to prevent ncurses from waiting after escape.
This commit is contained in:
parent
2990245111
commit
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 ();
|
||||
|
Loading…
Reference in New Issue
Block a user