summaryrefslogtreecommitdiff
path: root/src/ui_private.h
diff options
context:
space:
mode:
authorYour Name <you@example.com>2024-03-28 16:18:36 -0400
committerYour Name <you@example.com>2024-03-28 16:18:36 -0400
commitc644379e79262a7478a7fb9ea8001f315fdb6eaf (patch)
treed71b15e396ebca28b76f0b5fd1971dd352877e4e /src/ui_private.h
downloadnerdhack-c644379e79262a7478a7fb9ea8001f315fdb6eaf.tar.gz
nerdhack-c644379e79262a7478a7fb9ea8001f315fdb6eaf.tar.bz2
nerdhack-c644379e79262a7478a7fb9ea8001f315fdb6eaf.zip
Initial commitHEADmaster
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;
+ };
+
+}