# HG changeset patch # User Sadrul Habib Chowdhury # Date 1196575312 0 # Node ID ea56d93860813b8f8cabb109ecc669f1cd0b9a34 # Parent 47870b1ae41307cd144265795288ec9eabf3b118 Restore the screen properly after the child process ends. diff -r 47870b1ae413 -r ea56d9386081 finch/libgnt/gntmain.c --- 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