summaryrefslogtreecommitdiff
path: root/src/terminal.hh
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@yahoo.com>2017-02-28 21:50:44 +0100
committerJoel Klinghed <the_jk@yahoo.com>2017-02-28 21:50:44 +0100
commitc029d90d1975e124d237605f1edb2be16bd05b5d (patch)
tree9df87ffb365354bdb74a969440b32c8304bdbcb7 /src/terminal.hh
Initial commit
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