From: Christian Heller Date: Mon, 14 Dec 2020 21:26:29 +0000 (+0100) Subject: In ASCII art enter mode, on length failure, name needed length. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/coming?a=commitdiff_plain;h=a71fecca672cf691e10c4b56dd70c738bf0e0a98;p=plomrogue2 In ASCII art enter mode, on length failure, name needed length. --- diff --git a/rogue_chat.html b/rogue_chat.html index d810c2e..31a85a5 100644 --- a/rogue_chat.html +++ b/rogue_chat.html @@ -1055,7 +1055,7 @@ let tui = { }, enter_ascii_art: function(command) { if (this.inputEl.value.length != 6) { - this.log_msg('? wrong input length, try again'); + this.log_msg('? wrong input length, must be 6; try again'); return; } this.log_msg(' ' + this.inputEl.value); diff --git a/rogue_chat_curses.py b/rogue_chat_curses.py index 8f4f7da..8eec3f6 100755 --- a/rogue_chat_curses.py +++ b/rogue_chat_curses.py @@ -1098,7 +1098,7 @@ class TUI: def enter_ascii_art(command): if len(self.input_) != 6: - self.log_msg('? wrong input length, try again') + self.log_msg('? wrong input length, must be 6; try again') return self.log_msg(' ' + self.input_) self.full_ascii_draw += self.input_