aboutsummaryrefslogtreecommitdiffstats
path: root/examples/plugin-test
diff options
context:
space:
mode:
Diffstat (limited to 'examples/plugin-test')
-rw-r--r--examples/plugin-test2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/plugin-test b/examples/plugin-test
index c68065e..0639c02 100644
--- a/examples/plugin-test
+++ b/examples/plugin-test
@@ -103,7 +103,7 @@ def redraw():
if use > 99: colour, colour_ = '31', '31'
discs.append((mp, use, colour, colour_))
discs.sort(key = lambda d : d[0])
- discs = ['\033[%sm%s:\033[%sm%.1f\033[0m%%' % (d[3], d[0], d[2], d[1]) for d in discs]
+ discs = ['\033[%sm%s:\033[%sm%.1f\033[%sm%%\033[0m' % (d[3], d[0], d[2], d[1], d[3]) for d in discs]
discs = 'df: %s' % ' '.join(discs)
text = '%s │ %s │ %s │ %s │ %s │ %s\n%s'