From: Christian Heller Date: Sun, 8 Nov 2020 00:01:49 +0000 (+0100) Subject: For short / commands, use keybindings. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/foo.html?a=commitdiff_plain;h=ebce2a63305565ce32f336881b49a428fc5d91d3;p=plomrogue2-experiments For short / commands, use keybindings. --- diff --git a/new2/rogue_chat_curses.py b/new2/rogue_chat_curses.py index 689ecc1..ad9dba1 100755 --- a/new2/rogue_chat_curses.py +++ b/new2/rogue_chat_curses.py @@ -281,8 +281,8 @@ class TUI: self.log_msg(" /nick NAME - re-name yourself to NAME"); self.log_msg(" /msg USER TEXT - send TEXT to USER"); self.log_msg(" /help - show this help"); - self.log_msg(" /P or /play - switch to play mode"); - self.log_msg(" /? or /study - switch to study mode"); + self.log_msg(" /%s or /play - switch to play mode" % self.keys['switch_to_play']); + self.log_msg(" /%s or /study - switch to study mode" % self.keys['switch_to_study']); self.log_msg("commands common to study and play mode:"); self.log_msg(" %s - move" % ','.join(self.movement_keys)); self.log_msg(" %s - switch to chat mode" % self.keys['switch_to_chat']); diff --git a/new2/rogue_chat_nocanvas_monochrome.html b/new2/rogue_chat_nocanvas_monochrome.html index 664409d..6c00684 100644 --- a/new2/rogue_chat_nocanvas_monochrome.html +++ b/new2/rogue_chat_nocanvas_monochrome.html @@ -396,8 +396,8 @@ let tui = { this.log_msg(" /nick NAME - re-name yourself to NAME"); this.log_msg(" /msg USER TEXT - send TEXT to USER"); this.log_msg(" /help - show this help"); - this.log_msg(" /P or /play - switch to play mode"); - this.log_msg(" /? or /study - switch to study mode"); + this.log_msg(" /" + this.keys.switch_to_play + " or /play - switch to play mode"); + this.log_msg(" /" + this.keys.switch_to_study + " or /study - switch to study mode"); this.log_msg("commands common to study and play mode:"); this.log_msg(" " + movement_keys_desc + " - move"); this.log_msg(" " + this.keys.switch_to_chat + " - switch to chat mode");