aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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