diff options
Diffstat (limited to 'src/bar.c')
-rw-r--r-- | src/bar.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -92,6 +92,8 @@ update_window_names (screen_info *s) { static struct sbuf *bar_buffer = NULL; rp_window *w; + rp_window *other_window; + char dbuf[10]; int mark_start = 0; @@ -104,6 +106,8 @@ update_window_names (screen_info *s) sbuf_clear (bar_buffer); + other_window = find_window_other (); + for (w = rp_mapped_window_sentinel->next; w != rp_mapped_window_sentinel; w = w->next) @@ -120,6 +124,8 @@ update_window_names (screen_info *s) if (w == rp_current_window) sbuf_concat (bar_buffer, "*"); + else if (w == other_window) + sbuf_concat (bar_buffer, "+"); else sbuf_concat (bar_buffer, "-"); |