aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Schoepe <daniel.schoepe@gmail.com>2009-11-08 21:41:06 +0100
committerDaniel Schoepe <daniel.schoepe@gmail.com>2009-11-08 21:41:06 +0100
commit5005c6ee0df89a3a42f563bd703d76bbabd6cb1c (patch)
treed7977ea0d7195a62911ed8fb1f0ce794ef148db6 /scripts
parent023f5c13a2036f58f756f3b9c51163d55d5d70c3 (diff)
downloadXMonadContrib-5005c6ee0df89a3a42f563bd703d76bbabd6cb1c.tar.gz
XMonadContrib-5005c6ee0df89a3a42f563bd703d76bbabd6cb1c.tar.xz
XMonadContrib-5005c6ee0df89a3a42f563bd703d76bbabd6cb1c.zip
Set buffering to LineBuffering in scripts/xmonadpropread.hs
Ignore-this: 4e593fc1461fbbfb5b147c7c7702584e (Required for the script to work properly with tools like dzen) darcs-hash:20091108204106-7f603-1d5d825ab01fa60cbc4c3d622c45d716e69f3b57.gz
Diffstat (limited to 'scripts')
-rw-r--r--scripts/xmonadpropread.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/xmonadpropread.hs b/scripts/xmonadpropread.hs
index 88049f2..df7ecbb 100644
--- a/scripts/xmonadpropread.hs
+++ b/scripts/xmonadpropread.hs
@@ -8,8 +8,11 @@ import Graphics.X11
import Graphics.X11.Xlib.Extras
import Codec.Binary.UTF8.String as UTF8
import Foreign.C (CChar)
+import System.IO
main = do
+ hSetBuffering stdout LineBuffering
+
d <- openDisplay ""
xlog <- internAtom d "_XMONAD_LOG" False