Added /wins unread

This commit is contained in:
James Booth
2015-11-30 00:17:44 +00:00
parent d9435d3b65
commit 0920b65ddf
7 changed files with 43 additions and 20 deletions

View File

@@ -1013,7 +1013,9 @@ gboolean
cmd_wins(ProfWin *window, const char *const command, gchar **args)
{
if (args[0] == NULL) {
cons_show_wins();
cons_show_wins(FALSE);
} else if (strcmp(args[0], "unread") == 0) {
cons_show_wins(TRUE);
} else if (strcmp(args[0], "tidy") == 0) {
if (wins_tidy()) {
cons_show("Windows tidied.");