File libcaca-ncurses6.patch of Package libcaca

Index: libcaca-0.99.beta20/caca/driver/ncurses.c
===================================================================
--- libcaca-0.99.beta20.orig/caca/driver/ncurses.c
+++ libcaca-0.99.beta20/caca/driver/ncurses.c
@@ -268,11 +268,7 @@ static int ncurses_init_graphics(caca_di
     mouseinterval(-1); /* No click emulation */
 
     /* Set the escape delay to a ridiculously low value */
-#if defined set_escdelay
     set_escdelay(10);
-#else
-    ESCDELAY = 10;
-#endif
 
     /* Activate colour */
     start_color();
openSUSE Build Service is sponsored by