Flush stdout on cleanup() - sacc - sacc(omys), simple console gopher client
git clone git://bitreich.org/sacc/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/sacc/
Log
Files
Refs
Tags
LICENSE
---
commit 54870b8266bdddd39083e5fc4f87cca3014a1152
parent 081653074e69ae028be354aee7eca0c178a34d96
Author: Quentin Rameau 
Date:   Sun,  2 Jul 2017 20:05:36 +0200

Flush stdout on cleanup()

Diffstat:
  M ui_ti.c                             |       1 +

1 file changed, 1 insertion(+), 0 deletions(-)
---
diff --git a/ui_ti.c b/ui_ti.c
@@ -26,6 +26,7 @@ uicleanup(void)
 {
         tcsetattr(0, TCSAFLUSH, &tsave);
         putp(tparm(clear_screen));
+        fflush(stdout);
 }
 
 static void