diff options
author | James Booth <boothj5@gmail.com> | 2014-05-10 00:50:43 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-05-10 00:50:43 +0100 |
commit | d2662a6f174402a045bf400a4659e7fc9155cc34 (patch) | |
tree | 17dd692669e514d47d71f0cb73ddebf5f922c47e /src/ui | |
parent | a519d25e4bc7eeca1c53ba3200157ae69003f30a (diff) | |
download | profani-tty-d2662a6f174402a045bf400a4659e7fc9155cc34.tar.gz |
Refactored bookmarks to use option parser, allow bookmarking rooms with passwords
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/console.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/console.c b/src/ui/console.c index 2aff43a5..588f6001 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -663,6 +663,9 @@ _cons_show_bookmarks(const GList *list) if (item->autojoin) { wprintw(console->win, " (autojoin)"); } + if (item->password != NULL) { + wprintw(console->win, " (private)"); + } wprintw(console->win, "\n"); list = g_list_next(list); } |