diff --git a/src/uifc/uifc32.c b/src/uifc/uifc32.c index 19780ada14139b06c16e31882b4ea3f4e4bcd825..7d572405454791ff1902448a8f580f8b756869b4 100644 --- a/src/uifc/uifc32.c +++ b/src/uifc/uifc32.c @@ -173,10 +173,8 @@ int uifcini32(uifcapi_t* uifcapi) if(api->esc_delay < 10) api->esc_delay=25; -#ifdef NCURSES_VERSION_MAJOR - if(cio_api.mode==CIOLIB_MODE_CURSES || cio_api.mode==CIOLIB_MODE_CURSES_IBM) + if(cio_api.ESCDELAY) ESCDELAY=api->esc_delay; -#endif if(api->scrn_len!=0) { switch(api->scrn_len) {