From: Christian Heller Date: Sat, 19 Dec 2020 04:35:13 +0000 (+0100) Subject: Improve ASCII art input length error message. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Btodo.comment%7D%7D?a=commitdiff_plain;h=3b86e8effe9aa77fa87f86a1057d12d4c8019324;p=plomrogue2 Improve ASCII art input length error message. --- diff --git a/rogue_chat_curses.py b/rogue_chat_curses.py index a6f152c..ff0c46c 100755 --- 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: - 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: