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:
af6c471
)
Improve ASCII art input length error message.
author
Christian Heller
<c.heller@plomlompom.de>
Sat, 19 Dec 2020 04:35:13 +0000
(
05:35
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Sat, 19 Dec 2020 04:35:13 +0000
(
05:35
+0100)
rogue_chat_curses.py
patch
|
blob
|
history
diff --git
a/rogue_chat_curses.py
b/rogue_chat_curses.py
index a6f152cc9483254e5a5952df9025fcab2017e3ef..ff0c46c579559e0faacbb8bee6ff07ac19b01ffc 100755
(executable)
--- a/
rogue_chat_curses.py
+++ b/
rogue_chat_curses.py
@@
-1158,7
+1158,7
@@
class TUI:
def enter_ascii_art(command, height, width, with_pw=False):
if len(self.input_) > width:
def enter_ascii_art(command, height, width, with_pw=False):
if len(self.input_) > width:
- self.log_msg('?
wrong input length
, '
+ self.log_msg('?
input too long
, '
'must be max %s; try again' % width)
return
if len(self.input_) < width:
'must be max %s; try again' % width)
return
if len(self.input_) < width: