Skip to content
Snippets Groups Projects
Commit 3bc99dbf authored by deuce's avatar deuce
Browse files

Don't allow an esc_delay of less than 10 milliseconds.

parent 093aa397
No related branches found
No related tags found
No related merge requests found
......@@ -181,6 +181,10 @@ int uifcini32(uifcapi_t* uifcapi)
api->timedisplay=timedisplay;
api->getstrxy=ugetstr;
/* A esc_delay of less than 10 is stupid... silently override */
if(api->esc_delay < 10)
api->esc_delay=25;
#ifdef __unix__
initciowrap(api->mode);
#ifdef NCURSES_VERSION_MAJOR
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment