Added some logging and updated man page
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user