codehenry / xmonad

Automatically exported from code.google.com/p/xmonad
0 stars 0 forks source link

unescaped characters are sended to xmobar #383

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Configuring xmonad for xmobar with
    xmproc <- spawnPipe "xmobar -t '%StdinReader% }{' -c '[ Run StdinReader
]' -o"

...
        logHook = dynamicLogWithPP xmobarPP
                        { ppOutput = hPutStrLn xmproc
                        , ppTitle = xmobarColor "green" "" . shorten 50
                        , ppUrgent = xmobarColor "black" "red"
                        }

2. Open a window with something like tags in the title, e.g. open
http://bisoncpp.sourceforge.net/bisonc++.html in firefox
3. xmobar writes "couldn't parse string... " and doesn't parse it, displays
as a plain text

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

xmonad 0.9.1
xmobar 0.9.2

Are you using an xmonad.hs?  Please attach it and the output of "xmonad
--recompile".

Please provide any additional information below.

Original issue reported on code.google.com by alsergbox on 31 Mar 2010 at 7:06

Attachments:

GoogleCodeExporter commented 8 years ago
This is mostly an xmobar problem: DynamicLog could do some
escaping, however, once that is implemented in xmobar, the
appropriate escapeXMobar can be added.

The bug for xmobar is here:
http://code.google.com/p/xmobar/issues/detail?id=22

Original comment by vogt.a...@gmail.com on 31 Mar 2010 at 4:37