mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Check for method of setting ESCDELAY
This commit is contained in:
parent
abec6ae07c
commit
07f41e646f
@ -72,8 +72,11 @@ static void _parameter_autocomplete(char *input, int *size, char *command,
|
||||
void
|
||||
create_input_window(void)
|
||||
{
|
||||
if (getenv("ESCDELAY") == NULL)
|
||||
ESCDELAY = 25;
|
||||
#ifdef NCURSES_REENTRANT
|
||||
set_escdelay(25);
|
||||
#else
|
||||
ESCDELAY = 25;
|
||||
#endif
|
||||
|
||||
int rows, cols;
|
||||
getmaxyx(stdscr, rows, cols);
|
||||
|
Loading…
Reference in New Issue
Block a user