From febb6d66e3fd29c5d18c4c49133b0aef9257f2e1 Mon Sep 17 00:00:00 2001 From: dngfx Date: Sat, 22 Sep 2018 19:10:52 +0100 Subject: font reset at the beginning of commands to stop wonkiness with highlighting and fix duck decoys. --- modules/commands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/commands.py') diff --git a/modules/commands.py b/modules/commands.py index f0068c57..9df70ffc 100644 --- a/modules/commands.py +++ b/modules/commands.py @@ -29,7 +29,8 @@ class Out(object): ].decode("utf8").lstrip()) else: self._text = "" - self.target.send_message(text, prefix="[%s] " % self.prefix()) + self.target.send_message(text, prefix=Utils.FONT_RESET + "[%s] " % + self.prefix()) def set_prefix(self, prefix): self.module_name = prefix def has_text(self): -- cgit v1.3.1-10-gc9f91