aboutsummaryrefslogtreecommitdiff
path: root/src/Internal/XMobarLog.hs
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2021-11-04 02:17:24 -0600
committerJosh Rahm <rahm@google.com>2021-11-04 02:17:24 -0600
commit1705eeae8e3c14aa188dcd073e8875aab40e888c (patch)
tree5936e0dcc95006875f622f479182191ab08b98db /src/Internal/XMobarLog.hs
parent3464c1dbb093b8a5729c40cc51f4448fd3e43337 (diff)
downloadrde-1705eeae8e3c14aa188dcd073e8875aab40e888c.tar.gz
rde-1705eeae8e3c14aa188dcd073e8875aab40e888c.tar.bz2
rde-1705eeae8e3c14aa188dcd073e8875aab40e888c.zip
Fixed huuuuge bug related to dynamicLogWithPP.
dynamicLogWithPP does not support Unicode properly!! It was encoding each "Char" (32 bits in Haskell, mind you!) to a utf-8 byte instead of a codepoint. The result was a butchared faux-utf8 encoded string. This was causing xmobar to crash with unicode + my truncating code. I have now moved away from dynamicLogWithPP and am writing my own log string manually. It's better this way anyway; less hacky; more fine-grained control.
Diffstat (limited to 'src/Internal/XMobarLog.hs')
0 files changed, 0 insertions, 0 deletions