Commit 5bb9f2b9 authored by deuce's avatar deuce
Browse files

Add support for the ncurses ESCDELAY though the cio_api struct.

parent 33856b4a
......@@ -202,6 +202,9 @@ int try_curses_init(int mode)
cio_api.hidemouse=curs_hidemouse;
cio_api.suspend=curs_suspend;
cio_api.resume=curs_resume;
#ifdef NCURSES_VERSION_MAJOR
cio_api.ESCDELAY=&ESCDELAY;
#endif
return(1);
}
return(0);
......
......@@ -244,6 +244,7 @@ typedef struct {
int (*setfont) (int font, int force);
int (*getfont) (void);
int (*loadfont) (char *filename);
int *ESCDELAY;
} cioapi_t;
CIOLIBEXPORTVAR cioapi_t cio_api;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment