1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-22 16:20:23 +02:00

23964: call endwin() in curses module cleanup.

This commit is contained in:
Clint Adams 2007-10-15 16:57:48 +00:00
parent bf762680f3
commit 857d147b5b
2 changed files with 3 additions and 0 deletions

View file

@ -1,5 +1,7 @@
2007-10-15 Clint Adams <clint@zsh.org>
* 23964: Src/Modules/curses.c: call endwin() in curses module cleanup.
* 23962: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c: store windows
in a linked list instead of a static array, and use strings as
window identifiers instead of integers.

View file

@ -380,6 +380,7 @@ boot_(Module m)
int
cleanup_(Module m)
{
endwin();
freelinklist(zcurses_windows, (FreeFunc) zcurses_free_window);
return setfeatureenables(m, &module_features, NULL);
}