From be962db7586e120adb810e506f456b7ab80f486e Mon Sep 17 00:00:00 2001 From: Don Stewart Date: Sat, 9 Jun 2007 15:17:16 +0200 Subject: HEADS UP: (logging format change). use a custom pretty printer, for an easier format to parse, than 'show' produces darcs-hash:20070609131716-9c5c1-ac6b3d7e8193b16ca9ae65f32d5373090107eca1 --- Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Main.hs') diff --git a/Main.hs b/Main.hs index de1b979..aaa4970 100644 --- a/Main.hs +++ b/Main.hs @@ -94,7 +94,7 @@ main = do , w <- W.integrate (W.stack wk) ] mapM_ manage ws -- find new windows - when logging $ withWindowSet (io . hPrint stdout) + when logging $ withWindowSet (io . putStrLn . serial) -- main loop, for all you HOF/recursion fans out there. forever $ handle =<< io (nextEvent dpy e >> getEvent e) -- cgit v1.2.3