From: Christian Heller Date: Fri, 13 Nov 2020 23:57:35 +0000 (+0100) Subject: Fix square grid scrolling bug. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdb.prefix%7D%7D/static/foo.html?a=commitdiff_plain;h=ea961663328b40a2423cb2bb0d73a8e91b1797ee;p=plomrogue2 Fix square grid scrolling bug. --- 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):