Merge remote-tracking branch 'SolitudeSF/mode'

This commit is contained in:
Maxime Coste 2021-06-26 09:59:45 +10:00
commit f0f3c0f735

View File

@ -362,8 +362,8 @@ NCursesUI::~NCursesUI()
{
enable_mouse(false);
m_palette.set_change_colors(false);
endwin();
restore_terminal_mode();
endwin();
set_signal_handler(SIGWINCH, SIG_DFL);
set_signal_handler(SIGHUP, SIG_DFL);
set_signal_handler(SIGTSTP, SIG_DFL);