about summary refs log tree commit diff stats
path: root/src/ui/titlebar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/titlebar.c')
-rw-r--r--src/ui/titlebar.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ui/titlebar.c b/src/ui/titlebar.c
index dee6a7e2..0b2187ce 100644
--- a/src/ui/titlebar.c
+++ b/src/ui/titlebar.c
@@ -487,6 +487,18 @@ _show_privacy(ProfChatWin* chatwin)
 
         return;
     }
+    if (chatwin->has_attention) {
+        wprintw(win, " ");
+        wattron(win, bracket_attrs);
+        wprintw(win, "[");
+        wattroff(win, bracket_attrs);
+        wattron(win, encrypted_attrs);
+        wprintw(win, "ATTENTION");
+        wattroff(win, encrypted_attrs);
+        wattron(win, bracket_attrs);
+        wprintw(win, "]");
+        wattroff(win, bracket_attrs);
+    }
 
     if (chatwin->pgp_send || chatwin->pgp_recv) {
         GString* pgpmsg = g_string_new("PGP ");