home · contact · privacy
In ASCII art enter mode, on length failure, name needed length.
authorChristian Heller <c.heller@plomlompom.de>
Mon, 14 Dec 2020 21:26:29 +0000 (22:26 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Mon, 14 Dec 2020 21:26:29 +0000 (22:26 +0100)
rogue_chat.html
rogue_chat_curses.py

index d810c2e580aabb3f4cc1443d8ff040b4f657374a..31a85a56d3d45e787b7f6d11f92b9fc6ecdac4df 100644 (file)
@@ -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);
index 8f4f7da96e41f5221880fd6d24036430bdfdf832..8eec3f6fe5865955eb74d5a210ed780c06769671 100755 (executable)
@@ -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_