summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ncurses_ui.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ncurses_ui.cc b/src/ncurses_ui.cc
index 31c5269a..fb2cb25f 100644
--- a/src/ncurses_ui.cc
+++ b/src/ncurses_ui.cc
@@ -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);