tDisable termbox (temporary) - sex - libtermbox based text editor
(HTM) git clone git://z3bra.org/sex
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit b617e006f5ede99f42f3c4cae385e315e4f1d2b3
(DIR) parent 91fdf6985f2ac484b5c848b0cc71fb4db6bb92a7
(HTM) Author: z3bra <willyatmailoodotorg>
Date: Thu, 19 Nov 2015 14:12:11 +0100
Disable termbox (temporary)
Diffstat:
M sex.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/sex.c b/sex.c
t@@ -34,7 +34,7 @@ void
cleanup(void) {
munmap(f.map, f.size);
close(f.d);
- tb_shutdown();
+ /* tb_shutdown(); */
}
void
t@@ -94,7 +94,7 @@ main(int argc, char **argv)
break;
} ARGEND
- init_termbox();
+ /* init_termbox(); */
atexit(cleanup);
while (*argv)
t@@ -102,4 +102,3 @@ main(int argc, char **argv)
return 0;
}
-