
14 Dec
2012
14 Dec
'12
10:42 a.m.
Comment #9 on issue 507 by polac...@gmail.com: Pattern match failure in do expression at XMonad/Prompt.hs:601:3-14 http://code.google.com/p/xmonad/issues/detail?id=507 I came to the same solution independently. Works fine here (ghc-7.6, en_US.UTF-8 locale). I think it's peekCString doing all the hard work:
peekCStringLen s = getForeignEncoding >>= flip GHC.peekCStringLen s
Attachments: prompt.diff 1.3 KB