From 51fe8dc2c88610fad0a15f64709fde515300be6c Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Sun, 18 Mar 2018 12:41:47 +0100 Subject: [PATCH] Statusbar: redraw separator after interface switch when MPD is stopped --- NEWS | 1 + src/status.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/NEWS b/NEWS index ef687c96..c765d32a 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,7 @@ ncmpcpp-0.8.2 (????-??-??) * Fixed possible integer overflow when resizing screen * Fixed fetching lyrics from lyricsmania.com, metrolyrics.com and sing365.com * Search engine now properly interacts with filtering +* Fixed redraw of separator after interface switch while MPD was stopped ncmpcpp-0.8.1 (2017-10-11) * Setting 'colors_enabled' to 'no' no longer results in a crash. diff --git a/src/status.cpp b/src/status.cpp index cd1850ca..e27a3fb4 100644 --- a/src/status.cpp +++ b/src/status.cpp @@ -594,6 +594,8 @@ void Status::Changes::elapsedTime(bool update_elapsed) if (Statusbar::isUnlocked() && Config.statusbar_visibility) *wFooter << NC::XY(0, 1) << NC::TermManip::ClearToEOL; + if (Progressbar::isUnlocked()) + Progressbar::draw(0, 0); return; }