From ebce2a63305565ce32f336881b49a428fc5d91d3 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Sun, 8 Nov 2020 01:01:49 +0100
Subject: [PATCH] For short / commands, use keybindings.

---
 new2/rogue_chat_curses.py                | 4 ++--
 new2/rogue_chat_nocanvas_monochrome.html | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

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");
-- 
2.30.2