From a71fecca672cf691e10c4b56dd70c738bf0e0a98 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Mon, 14 Dec 2020 22:26:29 +0100 Subject: [PATCH] In ASCII art enter mode, on length failure, name needed length. --- rogue_chat.html | 2 +- rogue_chat_curses.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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_ -- 2.30.2