From ae2ce4dd1a84fd2abe26222e6ffa93a11a92111f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Tue, 26 May 2020 14:36:41 +0200 Subject: plugins/marquee: Change space char to nbsp to troll other clients better MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- plugins/marquee.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))] -- cgit v1.2.3