X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/ledger2?a=blobdiff_plain;f=rogue_chat_curses.py;h=c29b405da21bd6827fa15bf07f77e7259e7c42e3;hb=e70fd4a07b3e35f5bda57d7112e721a2290082c6;hp=295c04192bda3871ec2057088781299d0d595bd8;hpb=d3167bc558c709d7f10a237def2763530b7fed32;p=plomrogue2 diff --git a/rogue_chat_curses.py b/rogue_chat_curses.py index 295c041..c29b405 100755 --- a/rogue_chat_curses.py +++ b/rogue_chat_curses.py @@ -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