update.
[runtime.git] / apps / silc / screen.c
index dba669258178f72b5f6f179b0ce7f635334afa56..8fb8a8104c783451788845f54b1712d6d3856d22 100644 (file)
@@ -215,6 +215,14 @@ void silc_screen_print_bottom_line(SilcScreen screen, int win_index)
     strncat(buf, ")", 2);
   }
 
+  if (line->umode) {
+    len = strlen(line->umode);
+    strncat(buf, " [", 2);
+    strncat(buf, line->umode, len > SILC_SCREEN_MAX_UMODE_LEN ?
+           SILC_SCREEN_MAX_UMODE_LEN : len);
+    strncat(buf, "]", 2);
+  }
+
   if (line->away)
     strncat(buf, " (away)", 8);