Added title bar refresh to main loop

This commit is contained in:
James Booth
2012-02-12 22:44:00 +00:00
parent 02f5df5b20
commit 632528a9e3
3 changed files with 10 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ void profanity_start(void)
char cmd[50];
while (cmd_result == AWAIT_COMMAND) {
title_bar_refresh();
status_bar_refresh();
inp_get_command_str(cmd);
cmd_result = handle_start_command(cmd);
@@ -52,6 +53,7 @@ static void _profanity_event_loop(int *ch, char *cmd, int *size)
{
usleep(1);
title_bar_refresh();
status_bar_refresh();
// handle incoming messages