aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen.h')
-rw-r--r--src/screen.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/screen.h b/src/screen.h
index 3132e8a..d08139b 100644
--- a/src/screen.h
+++ b/src/screen.h
@@ -72,6 +72,12 @@ struct runes_grid {
struct runes_row *rows;
};
+/* XXX including parser.h in a place which would be visible here breaks things,
+ * so we copy these defintions over here */
+typedef void* yyscan_t;
+struct yy_buffer_state;
+typedef struct yy_buffer_state *YY_BUFFER_STATE;
+
struct runes_screen {
struct runes_grid *grid;
struct runes_grid *alternate;
@@ -83,6 +89,9 @@ struct runes_screen {
struct runes_cell_attrs attrs;
+ yyscan_t scanner;
+ YY_BUFFER_STATE state;
+
unsigned char hide_cursor: 1;
unsigned char application_keypad: 1;
unsigned char application_cursor: 1;