home · contact · privacy
Improve ASCII art input length error message.
authorChristian Heller <c.heller@plomlompom.de>
Sat, 19 Dec 2020 04:35:13 +0000 (05:35 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sat, 19 Dec 2020 04:35:13 +0000 (05:35 +0100)
rogue_chat_curses.py

index a6f152cc9483254e5a5952df9025fcab2017e3ef..ff0c46c579559e0faacbb8bee6ff07ac19b01ffc 100755 (executable)
@@ -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: