summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2020-05-26 14:36:41 +0200
committerMaxime “pep” Buquet <pep@bouah.net>2020-05-26 14:36:41 +0200
commitae2ce4dd1a84fd2abe26222e6ffa93a11a92111f (patch)
tree9f03fcc40da85ecdda8e5545600b23b8f90526b1
parent50d97b4c3ceefd79102c5d22531d79d56dc4971e (diff)
downloadpoezio-ae2ce4dd1a84fd2abe26222e6ffa93a11a92111f.tar.gz
poezio-ae2ce4dd1a84fd2abe26222e6ffa93a11a92111f.tar.bz2
poezio-ae2ce4dd1a84fd2abe26222e6ffa93a11a92111f.tar.xz
poezio-ae2ce4dd1a84fd2abe26222e6ffa93a11a92111f.zip
plugins/marquee: Change space char to nbsp to troll other clients better
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r--plugins/marquee.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/marquee.py b/plugins/marquee.py
index 80bfbfeb..14219161 100644
--- a/plugins/marquee.py
+++ b/plugins/marquee.py
@@ -41,7 +41,7 @@ from poezio.decorators import command_args_parser
def move(text, step, spacing):
- new_text = text + (" " * spacing)
+ new_text = text + ("\u00A0" * spacing)
return new_text[-(step % len(new_text)):] + new_text[:-(
step % len(new_text))]