mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-25 17:20:25 +02:00
23964: call endwin() in curses module cleanup.
This commit is contained in:
parent
bf762680f3
commit
857d147b5b
2 changed files with 3 additions and 0 deletions
|
|
@ -1,5 +1,7 @@
|
||||||
2007-10-15 Clint Adams <clint@zsh.org>
|
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
|
* 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
|
in a linked list instead of a static array, and use strings as
|
||||||
window identifiers instead of integers.
|
window identifiers instead of integers.
|
||||||
|
|
|
||||||
|
|
@ -380,6 +380,7 @@ boot_(Module m)
|
||||||
int
|
int
|
||||||
cleanup_(Module m)
|
cleanup_(Module m)
|
||||||
{
|
{
|
||||||
|
endwin();
|
||||||
freelinklist(zcurses_windows, (FreeFunc) zcurses_free_window);
|
freelinklist(zcurses_windows, (FreeFunc) zcurses_free_window);
|
||||||
return setfeatureenables(m, &module_features, NULL);
|
return setfeatureenables(m, &module_features, NULL);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue