summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ncurses_ui.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ncurses_ui.cc b/src/ncurses_ui.cc
index a4d4ee71..93fbf559 100644
--- a/src/ncurses_ui.cc
+++ b/src/ncurses_ui.cc
@@ -531,6 +531,7 @@ Optional<Key> NCursesUI::get_next_key()
set_signal_handler(SIGWINCH, SIG_DFL);
set_signal_handler(SIGCONT, SIG_DFL);
m_window = nullptr;
+ m_stdin_watcher.disable();
return {};
}