projects
/
runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update.
[runtime.git]
/
apps
/
silc
/
screen.c
diff --git
a/apps/silc/screen.c
b/apps/silc/screen.c
index dba669258178f72b5f6f179b0ce7f635334afa56..8fb8a8104c783451788845f54b1712d6d3856d22 100644
(file)
--- a/
apps/silc/screen.c
+++ b/
apps/silc/screen.c
@@
-215,6
+215,14
@@
void silc_screen_print_bottom_line(SilcScreen screen, int win_index)
strncat(buf, ")", 2);
}
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);
if (line->away)
strncat(buf, " (away)", 8);