home · contact · privacy
Fix minor line breaking bug.
authorChristian Heller <c.heller@plomlompom.de>
Sun, 22 Nov 2020 00:48:46 +0000 (01:48 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sun, 22 Nov 2020 00:48:46 +0000 (01:48 +0100)
rogue_chat_curses.py

index 295c04192bda3871ec2057088781299d0d595bd8..c29b405da21bd6827fa15bf07f77e7259e7c42e3 100755 (executable)
@@ -63,7 +63,7 @@ mode_helps = {
         'long': 'Waiting for a server response.'
     },
     'password': {
-        'short': 'password input',
+        'short': 'map edit password',
         'long': 'This mode allows you to change the password that you send to authorize yourself for editing password-protected map tiles.  Hit return to confirm and leave.'
     },
     'admin': {
@@ -531,6 +531,8 @@ class TUI:
                     lines += [chunk]
                     chunk = ''
                     x = 0
+                    if msg[i] == "\n":
+                        x -= 1
                 if msg[i] != "\n":
                     chunk += msg[i]
                 x += 1