mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 23:36:21 +00:00
Moved cons_show_word() to console module
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user