update screen in TraceMpdStatus(), not in the main loop
this makes screen update even if ncmpcpp is in Window::GetString().
This commit is contained in:
@@ -402,7 +402,6 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
// header stuff end
|
||||
|
||||
myScreen->Update();
|
||||
if (input != ERR)
|
||||
myScreen->RefreshWindow();
|
||||
wFooter->ReadKey(input);
|
||||
|
||||
@@ -137,6 +137,8 @@ void TraceMpdStatus()
|
||||
gettimeofday(&past, 0);
|
||||
}
|
||||
|
||||
myScreen->Update();
|
||||
|
||||
if (myScreen->ActiveWindow() == myPlaylist->Items
|
||||
&& Timer.tv_sec == myPlaylist->Timer()+Config.playlist_disable_highlight_delay
|
||||
&& myPlaylist->Items->isHighlighted()
|
||||
|
||||
Reference in New Issue
Block a user