summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/common.h4
-rw-r--r--include/proto.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index b3228ac5..fb59b749 100644
--- a/include/common.h
+++ b/include/common.h
@@ -250,6 +250,10 @@
#define GRAYOUT_NORM (1)
#define GRAYOUT_COLORNORM (+2)
+/* Typeahead */
+#define TYPEAHEAD_NONE (-1)
+#define TYPEAHEAD_STDIN (0)
+
/* ----------------------------------------------------- */
/* Macros */
/* ----------------------------------------------------- */
diff --git a/include/proto.h b/include/proto.h
index 92413619..5136abaa 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -583,6 +583,7 @@ void clrtoln (int ln);
void newwin (int nlines, int ncols, int y, int x);
void refresh (void);
void doupdate (void);
+int typeahead (int fd);
void redrawwin (void);
void scroll (void);
void rscroll (void);