I took the patch from http://bugs.musicpd.org/view.php?id=3771 and backported
it to 5.10 (they moved the function to a different source file).

It seems to have fixed it for me. I've attached the backported patch. Maybe it
could get applied to the current version until they roll a new release. If not
it is here as a workaround.

-- 

John Eikenberry
[ j...@zhar.net - http://zhar.net ]
[ PGP public key @ http://zhar.net/jae_at_zhar_net.gpg ]
________________________________________________________________________
Sic gorgiamus allos subjectatos nunc
diff -u -ur ncmpcpp-0.5.10-orig/src/status.cpp ncmpcpp-0.5.10/src/status.cpp
--- ncmpcpp-0.5.10-orig/src/status.cpp	2014-02-13 22:32:57.000000000 -0800
+++ ncmpcpp-0.5.10/src/status.cpp	2014-02-13 22:22:41.487561631 -0800
@@ -69,7 +69,7 @@
 void WindowTitle(const std::string &status)
 {
 	if (strcmp(getenv("TERM"), "linux") && Config.set_window_title)
-		std::cout << "\033]0;" << status << "\7";
+		std::cout << "\033]0;" << status << "\7" << std::flush;
 }
 #endif // !USE_PDCURSES
 

Attachment: signature.asc
Description: Digital signature

Reply via email to