summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils.c b/src/utils.c
index bb90e36..b90a9bf 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -74,11 +74,11 @@ void exit_calcurse(int status)
{
int was_interactive;
- ui_calendar_stop_date_thread();
- io_stop_psave_thread();
-
if (ui_mode == UI_CURSES) {
notify_stop_main_thread();
+ ui_calendar_stop_date_thread();
+ io_stop_psave_thread();
+
clear();
wins_refresh();
endwin();