summary refs log tree commit diff
path: root/term.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-12-08 12:58:22 -0500
committerJune McEnroe <june@causal.agency>2018-12-08 13:18:13 -0500
commit14c60a15bca704873f88f46495559ee7d698f985 (patch)
tree79e37e5e91b7e3f58d13c8afbc1ecc49dea0f53e /term.c
parentAdd /raw command (diff)
downloadcatgirl-14c60a15bca704873f88f46495559ee7d698f985.tar.gz
catgirl-14c60a15bca704873f88f46495559ee7d698f985.zip
Add uint typedef
Diffstat (limited to '')
-rw-r--r--term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/term.c b/term.c
index 2be9c16..75380ea 100644
--- a/term.c
+++ b/term.c
@@ -51,7 +51,7 @@ void termMode(enum TermMode mode, bool set) {
 enum { Esc = '\33' };
 
 enum TermEvent termEvent(char ch) {
-	static int state = 0;
+	static uint state = 0;
 	switch (T(state, ch)) {
 		case T(0, Esc): state = 1; return 0;
 		case T(1, '['): state = 2; return 0;