Merge branch 'master' into dev

This commit is contained in:
James Booth
2012-10-23 23:30:16 +01:00
2 changed files with 18 additions and 6 deletions

View File

@@ -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);