Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: endwin in curses cleanup



I'm guessing that this is the proper thing to do.

Index: Src/Modules/curses.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Modules/curses.c,v
retrieving revision 1.7
diff -u -r1.7 curses.c
--- Src/Modules/curses.c	15 Oct 2007 16:49:51 -0000	1.7
+++ Src/Modules/curses.c	15 Oct 2007 16:52:13 -0000
@@ -380,6 +380,7 @@
 int
 cleanup_(Module m)
 {
+    endwin();
     freelinklist(zcurses_windows, (FreeFunc) zcurses_free_window);
     return setfeatureenables(m, &module_features, NULL);
 }



Messages sorted by: Reverse Date, Date, Thread, Author