From: Michael D. Lowis Date: Sat, 26 Jul 2014 03:09:07 +0000 (-0400) Subject: Fixed terminal breakage X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=ee83089e1f180f1a1e4512ad2e18357ad36deb91;p=archive%2Fafm.git Fixed terminal breakage --- diff --git a/source/main.c b/source/main.c index 23b1cf1..5809f4a 100644 --- a/source/main.c +++ b/source/main.c @@ -32,10 +32,10 @@ int main(int argc, char** argv) { if(state_get_screen_dirty()) screen_update(); input_handle_key(getch()); } - erase(); + screen_deinit(); + clear(); refresh(); endwin(); - screen_deinit(); return 0; }