Add win_printf_line

This commit is contained in:
James Booth
2016-10-12 00:14:55 +01:00
parent 7b31af3060
commit 97898ee082
4 changed files with 25 additions and 3 deletions

View File

@@ -1479,9 +1479,9 @@ _cmd_help_cmd_list(const char *const tag)
cons_show("");
ProfWin *console = wins_get_console();
if (tag) {
win_printf(console, '-', 0, NULL, 0, THEME_WHITE_BOLD, "", "%s commands", tag);
win_printf_line(console, THEME_WHITE_BOLD, "%s commands", tag);
} else {
win_printf(console, '-', 0, NULL, 0, THEME_WHITE_BOLD, "", "All commands");
win_printf_line(console, THEME_WHITE_BOLD, "All commands");
}
GList *ordered_commands = NULL;