diff options
Diffstat (limited to '')
-rw-r--r-- | screen.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -68,8 +68,15 @@ static void paint_top_window(char *header, int volume, int clear) { static int prev_volume = -1; + static int prev_header_len = -1; WINDOW *w = screen->top_window.w; + if(prev_header_len!=strlen(header)) + { + prev_header_len = strlen(header); + clear = 1; + } + if(clear) { wclear(w); |