Skip to content
Snippets Groups Projects
Commit 5bb9f2b9 authored by deuce's avatar deuce
Browse files

Add support for the ncurses ESCDELAY though the cio_api struct.

parent 33856b4a
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment