diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-12-05 12:47:00 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-12-05 12:47:00 +1300 |
commit | 9996593c0656a1bf4efc334cc2f490dc4fe8767a (patch) | |
tree | c172b229dd933a5df9c2162b44d4b5e66901b648 | |
parent | Remove asterisk from stream name (diff) | |
download | mpdlrc-9996593c0656a1bf4efc334cc2f490dc4fe8767a.tar.gz mpdlrc-9996593c0656a1bf4efc334cc2f490dc4fe8767a.zip |
Flush each line as it's printed
-rwxr-xr-x | mpdlrc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -41,6 +41,7 @@ my $pid; # Use UTF-8 for output, because forëigñ charåcters āre ìmpørtánt binmode STDOUT, ':encoding(utf8)'; +STDOUT->autoflush(1); MPD: while (1) { |