Add win_printf_line

This commit is contained in:
James Booth
2016-10-14 23:38:39 +01:00
parent 24f0dc2734
commit 54cf1dbec4
12 changed files with 118 additions and 116 deletions

View File

@@ -835,7 +835,7 @@ wins_lost_connection(void)
while (curr) {
ProfWin *window = curr->data;
if (window->type != WIN_CONSOLE) {
win_printf(window, '-', 0, NULL, 0, THEME_ERROR, "", "Lost connection.");
win_printf_line(window, THEME_ERROR, "Lost connection.");
// if current win, set current_win_dirty
if (wins_is_current(window)) {