summaryrefslogtreecommitdiff
path: root/src/terminal.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/terminal.hh')
-rw-r--r--src/terminal.hh22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/terminal.hh b/src/terminal.hh
new file mode 100644
index 0000000..414ee4b
--- /dev/null
+++ b/src/terminal.hh
@@ -0,0 +1,22 @@
+// -*- mode: c++; c-basic-offset: 2; -*-
+
+#ifndef TERMINAL_HH
+#define TERMINAL_HH
+
+#include <cstdint>
+
+class Terminal {
+public:
+ struct Size {
+ uint32_t width;
+ uint32_t height;
+ };
+
+ static Size size();
+
+private:
+ Terminal() { }
+ ~Terminal() { }
+};
+
+#endif // TERMINAL_HH