Skip to content

Commit

Permalink
player-status-entry-persist: issue each line to xmobar as soon as it …
Browse files Browse the repository at this point in the history
…is available

python3 does line-based buffering only
for tty stdout, but not pipes, like xmobar

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  • Loading branch information
Sergei Trofimovich committed Oct 26, 2014
1 parent f14a600 commit a15fa16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/player-status-entry-persist.py
Expand Up @@ -47,6 +47,7 @@ def paint(color, text):

def show(s):
print(s)
sys.stdout.flush()

import xmmsclient

Expand Down

0 comments on commit a15fa16

Please sign in to comment.