Package: ncurses
Version: 5.7+20100313-2
Severity: normal
Hello,
ncureses seems to reset my palette (under 'linux' terminal) when
refresh() is preceded by endwin() (e.g. mutt calls it that way).
Attached program illustrates the issue. If called with no arguments -
the palette is fine, but call it with any argument and palette is reset
to terminal's defaults.
Regards,
--
Piotr Lewandowski
#include <curses.h>
int main(int argc, char* argv[]) {
initscr();
start_color();
if (argc > 1)
{
endwin();
}
refresh();
endwin();
return 0;
}