aboutsummaryrefslogtreecommitdiff
path: root/main.h
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2021-06-07 14:53:30 +0200
committerElias Fleckenstein <eliasfleckenstein@web.de>2021-06-07 14:53:30 +0200
commit4c3ff7608d951070792d7f128515ec8e4c20a97f (patch)
tree6cabfbe9ea1ab5937a31a31e05d2de9083005589 /main.h
parent4c8ab9a09eb6c13a7bd2a00dd7e638f0bea27427 (diff)
downloadttfe-4c3ff7608d951070792d7f128515ec8e4c20a97f.tar.xz
Immediate and invisible input
Diffstat (limited to 'main.h')
-rw-r--r--main.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.h b/main.h
index 76a50d7..9068990 100644
--- a/main.h
+++ b/main.h
@@ -6,6 +6,8 @@
#include <stdbool.h>
#include <assert.h>
#include <time.h>
+#include <unistd.h>
+#include <termios.h>
typedef struct board board;
typedef unsigned int uint;
@@ -16,6 +18,7 @@ enum direction {
south,
west,
east,
+ quit,
};
struct board {