From e0f83592dc5f22a07f79f97ccc63ac66e917e2c7 Mon Sep 17 00:00:00 2001 From: Blake DeMarcy Date: Wed, 11 Oct 2017 15:13:13 +0000 Subject: [PATCH] made linequote spacing less fucky --- clients/urwid/main.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/clients/urwid/main.py b/clients/urwid/main.py index 79f277a..ab5050a 100644 --- a/clients/urwid/main.py +++ b/clients/urwid/main.py @@ -1484,13 +1484,14 @@ class MessageBody(urwid.Text): result.append((directive, body)) elif directive == "linequote": - try: + result.append(("3", "%s" % body.strip())) + # TEN MILLION YEARS DUNGEON NO TRIAL + # try: # this /naughty/ hack is supposed to keep spacing consistent....needs tweaking - if directive != last_directive and result[-1][-1][-1] != "\n": - result.append(("default", "\n")) - except IndexError: - pass - result.append(("3", "%s\n" % body.strip())) + # if result[-1][-1][-1] != "\n": + # result.append(("default", "\n")) + # except IndexError: + # pass elif directive == "quote": if message["post_id"] == 0: