summaryrefslogtreecommitdiffhomepage
path: root/src/Plugins/PipeReader.hs
diff options
context:
space:
mode:
authorMartin Perner <martin@perner.cc>2011-08-27 13:29:50 +0200
committerMartin Perner <martin@perner.cc>2011-08-27 13:41:45 +0200
commit9f3d337e753826da3f48cc45b664f4a919a67058 (patch)
tree964c3768609be66ce6dae43e72409d7c19c8e15d /src/Plugins/PipeReader.hs
parentd17958115fbb80d5baf58830f33390cd21acedac (diff)
downloadxmobar-9f3d337e753826da3f48cc45b664f4a919a67058.tar.gz
xmobar-9f3d337e753826da3f48cc45b664f4a919a67058.tar.bz2
Fix the detection of the end of the command array
It was only looked for a ']' followed by space-characters and either a '}' or ','. This looks good in generally but considering that a command can have as its last input parameter an array e.g. ... , Run Something ["Do"] , Run XMonadLog ] , sepChar = "%" } ... This will not work unless 'Something' is the last command in the array. This patch fixes this problem, as a ',' is only accepted if it is not followed by a "Run".
Diffstat (limited to 'src/Plugins/PipeReader.hs')
0 files changed, 0 insertions, 0 deletions