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:
parent
0c912990c7
commit
3011dc63ae
@ -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, ...)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user