home
·
contact
·
privacy
projects
/
plomrogue2
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbd7f49
)
Fix minor line breaking bug.
author
Christian Heller
<c.heller@plomlompom.de>
Sun, 22 Nov 2020 00:48:46 +0000
(
01:48
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Sun, 22 Nov 2020 00:48:46 +0000
(
01:48
+0100)
rogue_chat_curses.py
patch
|
blob
|
history
diff --git
a/rogue_chat_curses.py
b/rogue_chat_curses.py
index 295c04192bda3871ec2057088781299d0d595bd8..c29b405da21bd6827fa15bf07f77e7259e7c42e3 100755
(executable)
--- 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