Statusbar: redraw separator after interface switch when MPD is stopped

This commit is contained in:
Andrzej Rybczak
2018-03-18 12:41:47 +01:00
parent e6f5179b92
commit 51fe8dc2c8
2 changed files with 3 additions and 0 deletions

1
NEWS
View File

@@ -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.

View File

@@ -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;
}