about summary refs log tree commit diff stats
path: root/src/windows.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/windows.c')
-rw-r--r--src/windows.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/windows.c b/src/windows.c
index c8abb0c2..30f7e4fa 100644
--- a/src/windows.c
+++ b/src/windows.c
@@ -36,6 +36,7 @@
 #include "command.h"
 #include "preferences.h"
 #include "tinyurl.h"
+#include "log.h"
 
 #define CONS_WIN_TITLE "_cons"
 #define PAD_SIZE 200
@@ -84,6 +85,7 @@ static void _win_notify_typing(char * short_from);
 void
 gui_init(void)
 {
+    log_msg(PROF_LEVEL_INFO, "prof", "Initialising UI");
     initscr();
     cbreak();
     keypad(stdscr, TRUE);
@@ -135,12 +137,14 @@ gui_refresh(void)
 void
 gui_close(void)
 {
+    log_msg(PROF_LEVEL_INFO, "prof", "Closing UI");
     endwin();
 }
 
 void
 gui_resize(const int ch, const char * const input, const int size)
 {
+    log_msg(PROF_LEVEL_INFO, "prof", "Resizing UI");
     title_bar_resize();
     status_bar_resize();
     _win_resize_all();