changeset 21720:ea56d9386081

Restore the screen properly after the child process ends.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 02 Dec 2007 06:01:52 +0000
parents 47870b1ae413
children c9f02ad22269
files finch/libgnt/gntmain.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/finch/libgnt/gntmain.c	Sun Dec 02 02:39:15 2007 +0000
+++ b/finch/libgnt/gntmain.c	Sun Dec 02 06:01:52 2007 +0000
@@ -679,8 +679,9 @@
 	g_free(cp);
 	clean_pid();
 	wm->mode = GNT_KP_MODE_NORMAL;
-	clear();
+	endwin();
 	setup_io();
+	refresh();
 	refresh_screen();
 }
 #endif