summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-08-12 17:16:04 -0400
committerJune McEnroe <june@causal.agency>2019-08-12 17:16:14 -0400
commitc53d0625213e1cde272b77fec4fd4c46489acd68 (patch)
tree20f926a5d307d3c1bfeccc1378c09308644824b8
parentUse a big macro switch-case (diff)
downloadstream-c53d0625213e1cde272b77fec4fd4c46489acd68.tar.gz
stream-c53d0625213e1cde272b77fec4fd4c46489acd68.zip
Remove main in term.c
Oops, added this for fuzzing.
-rw-r--r--term.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/term.c b/term.c
index 5ee88ac..c77d4f1 100644
--- a/term.c
+++ b/term.c
@@ -554,15 +554,3 @@ fail:
 	fclose(file);
 	return -1;
 }
-
-#ifdef TERM_MAIN
-
-int main(void) {
-	struct Term *term = termAlloc(24, 80);
-	wint_t ch;
-	while (WEOF != (ch = getwchar())) {
-		termUpdate(term, ch);
-	}
-}
-
-#endif