Added some logging and updated man page

This commit is contained in:
James Booth
2012-08-22 00:30:24 +01:00
parent b30662fef7
commit 4dbd8bbefa
9 changed files with 62 additions and 8 deletions

View File

@@ -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();