From ea961663328b40a2423cb2bb0d73a8e91b1797ee Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sat, 14 Nov 2020 00:57:35 +0100 Subject: [PATCH] Fix square grid scrolling bug. --- rogue_chat_curses.py | 2 +- rogue_chat_nocanvas_monochrome.html | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/rogue_chat_curses.py b/rogue_chat_curses.py index 2207220..3b110ba 100755 --- a/rogue_chat_curses.py +++ b/rogue_chat_curses.py @@ -512,7 +512,7 @@ class TUI: indent = 0 if indent else 1 else: for line in map_lines_split: - map_lines += [' '.join(line)] + map_lines += [''.join(line)] window_center = YX(int(self.size.y / 2), int(self.window_width / 2)) player = self.game.get_thing(self.game.player_id) diff --git a/rogue_chat_nocanvas_monochrome.html b/rogue_chat_nocanvas_monochrome.html index 1f2ebe0..4956cbd 100644 --- a/rogue_chat_nocanvas_monochrome.html +++ b/rogue_chat_nocanvas_monochrome.html @@ -36,8 +36,7 @@ toggle terrain/control view (from study mode):