poll both stdin and mpd using one select()
this allows for immediate reading mpd events
This commit is contained in:
@@ -63,6 +63,11 @@ void WindowTitle(const std::string &status)
|
||||
}
|
||||
#endif // !USE_PDCURSES
|
||||
|
||||
void StatusbarMPDCallback()
|
||||
{
|
||||
Mpd.OrderDataFetching();
|
||||
}
|
||||
|
||||
void StatusbarGetStringHelper(const std::wstring &)
|
||||
{
|
||||
TraceMpdStatus();
|
||||
|
||||
Reference in New Issue
Block a user