1
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-01-03 14:57:42 -05:00

Moved cons_show_word() to console module

This commit is contained in:
James Booth 2013-04-21 01:41:36 +01:00
parent 0c912990c7
commit 3011dc63ae
2 changed files with 11 additions and 12 deletions

View File

@ -71,6 +71,17 @@ cons_show_time(void)
window_show_time(console, '-');
}
void
cons_show_word(const char * const word)
{
wprintw(console->win, "%s", word);
dirty = TRUE;
if (!win_current_is_console()) {
status_bar_new(0);
}
}
void
cons_debug(const char * const msg, ...)
{

View File

@ -1145,18 +1145,6 @@ win_room_show_status(const char * const contact)
}
}
void
cons_show_word(const char * const word)
{
wprintw(console->win, "%s", word);
if (current_index == 0) {
dirty = TRUE;
} else {
status_bar_new(0);
}
}
void
cons_bad_command(const char * const cmd)
{