summaryrefslogtreecommitdiff
path: root/src/ui_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui_private.h')
-rw-r--r--src/ui_private.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/ui_private.h b/src/ui_private.h
new file mode 100644
index 0000000..e45c57b
--- /dev/null
+++ b/src/ui_private.h
@@ -0,0 +1,21 @@
+#pragma once
+
+namespace ui {
+
+ struct uiImpl {
+ WINDOW *termBorder;
+ WINDOW *terminal;
+ CommandParser parser;
+ int savedXDEC = 0;
+ int savedYDEC = 0;
+ attr_t savedAttrs;
+ short savedColor = 0;
+ int savedColorInt = 0;
+ int savedXCP = 0;
+ int savedYCP = 0;
+ // Modes
+ bool DECCRM = false;
+ bool DECIM = false;
+ };
+
+}