diff options
author | Thomas Adam <thomas@xteddy.org> | 2021-01-20 08:01:22 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2021-01-20 08:01:22 +0000 |
commit | 9ff017e908243f3e24e0e26769c8e5aadfa3cb57 (patch) | |
tree | 19606afd862a056fa0ecc3babf978877d6da0703 /window.c | |
parent | 82423975df8b8de859c58e84a4248f4749cb8b16 (diff) | |
parent | fb774b77d0f5ccb988b508b8a794633d4c9a5962 (diff) | |
download | rtmux-9ff017e908243f3e24e0e26769c8e5aadfa3cb57.tar.gz rtmux-9ff017e908243f3e24e0e26769c8e5aadfa3cb57.tar.bz2 rtmux-9ff017e908243f3e24e0e26769c8e5aadfa3cb57.zip |
Merge branch 'obsd-master' into master
Diffstat (limited to 'window.c')
-rw-r--r-- | window.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -810,15 +810,18 @@ window_destroy_panes(struct window *w) } const char * -window_printable_flags(struct winlink *wl) +window_printable_flags(struct winlink *wl, int escape) { struct session *s = wl->session; static char flags[32]; int pos; pos = 0; - if (wl->flags & WINLINK_ACTIVITY) + if (wl->flags & WINLINK_ACTIVITY) { flags[pos++] = '#'; + if (escape) + flags[pos++] = '#'; + } if (wl->flags & WINLINK_BELL) flags[pos++] = '!'; if (wl->flags & WINLINK_SILENCE) |