From 14976ea89dc3ff0303a69b9a76fcefa06ba7ab0a Mon Sep 17 00:00:00 2001 From: Gordon Shumway <39967334+oddluck@users.noreply.github.com> Date: Mon, 29 Jul 2019 18:33:18 -0400 Subject: [PATCH] a2m: allow scrolling of blank lines --- ASCII/plugin.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ASCII/plugin.py b/ASCII/plugin.py index 335bee3..c1a0aea 100644 --- a/ASCII/plugin.py +++ b/ASCII/plugin.py @@ -1327,6 +1327,11 @@ class ASCII(callbacks.Plugin): if line.strip() and not self.stopped[msg.args[0]]: time.sleep(delay) irc.reply(line, prefixNick = False, noLengthCheck=True, private=False, notice=False, to=channel) + elif not line.strip() and not self.stopped[msg.args[0]]: + time.sleep(delay) + irc.reply('\xa0', prefixNick = False, noLengthCheck=True, private=False, notice=False, to=channel) + else: + return if self.registryValue('pasteEnable', msg.args[0]): irc.reply(self.doPaste(url, paste), private=False, notice=False, to=channel) a2m = wrap(a2m, [optional('channel'), getopts({'l':'int', 'r':'int', 't':'int', 'w':'int', 'delay':'float'}), ('text')])