diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-05-24 17:17:20 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-05-24 17:55:08 +0200 |
commit | f121554088a6bffd2721b94c46a40d8ec61e0b46 (patch) | |
tree | 3f641f76d7c35dedb6930cd56023056335b12f9c /src/ui/console.c | |
parent | ca3972b3ca85a8ba50da46e679832dcedfadcce7 (diff) | |
download | profani-tty-f121554088a6bffd2721b94c46a40d8ec61e0b46.tar.gz |
List ignored bookmarks
`/bookmarl ignore` lists the ignored bookmarks. Regards https://github.com/profanity-im/profanity/issues/1115
Diffstat (limited to 'src/ui/console.c')
-rw-r--r-- | src/ui/console.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/ui/console.c b/src/ui/console.c index 337679e0..3129c773 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -2683,3 +2683,18 @@ _show_roster_contacts(GSList *list, gboolean show_groups) curr = g_slist_next(curr); } } + +void +cons_show_bookmarks_ignore(gchar **list, gsize len) +{ + int i; + ProfWin *console = wins_get_console(); + + cons_show(""); + cons_show("Ignored bookmarks:"); + + for(i=0; i<len; i++) { + win_print(console, THEME_DEFAULT, "-", " %s", list[i]); + win_newline(console); + } +} |