aboutsummaryrefslogtreecommitdiff
path: root/ui-curses.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-04-04 11:33:30 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-04-04 11:33:30 +0200
commitba6f93a4e7d6fea880b357edb45c47fbc8a17dfc (patch)
treeb9f2b4652ef4893b8865d791c123fef309d45181 /ui-curses.c
parent481bcb1dcca2bd486cfb1e803349929e832eaa23 (diff)
downloadvis-ba6f93a4e7d6fea880b357edb45c47fbc8a17dfc.tar.gz
vis-ba6f93a4e7d6fea880b357edb45c47fbc8a17dfc.tar.xz
Move more curses related stuff to ui-curses.c
Diffstat (limited to 'ui-curses.c')
-rw-r--r--ui-curses.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/ui-curses.c b/ui-curses.c
index 3cab014..3d144c0 100644
--- a/ui-curses.c
+++ b/ui-curses.c
@@ -21,6 +21,13 @@
# define MAX_COLOR_PAIRS COLOR_PAIRS
#endif
+#ifdef PDCURSES
+int ESCDELAY;
+#endif
+#ifndef NCURSES_REENTRANT
+# define set_escdelay(d) (ESCDELAY = (d))
+#endif
+
#if 0
#define wresize(win, y, x) do { \
if (wresize(win, y, x) == ERR) { \