X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/static/git-logo.png?a=blobdiff_plain;f=new2%2Frogue_chat_nocanvas_monochrome.html;h=2dd6c6815a1e15d3521c83877c2da2121ba39e13;hb=c64f62571abf30fa7743cf7e3358f4a7e3f368f3;hp=406dd805cf8410d9949c399b288bc9f98735d04b;hpb=d16b92da8e0d5b85d909732ae22dee60bf480c5e;p=plomrogue2-experiments diff --git a/new2/rogue_chat_nocanvas_monochrome.html b/new2/rogue_chat_nocanvas_monochrome.html index 406dd80..2dd6c68 100644 --- a/new2/rogue_chat_nocanvas_monochrome.html +++ b/new2/rogue_chat_nocanvas_monochrome.html @@ -5,7 +5,7 @@
movement: rows: @@ -405,7 +405,7 @@ let tui = { this.log_msg(" " + command_char_selector.value + "nick NAME - re-name yourself to NAME"); this.log_msg(" " + command_char_selector.value + "msg USER TEXT - send TEXT to USER"); this.log_msg(" " + command_char_selector.value + "help - show this help"); - this.log_msg(" " + command_char_selector.value + "p or " + command_char_selector.value + "play - switch to play mode"); + this.log_msg(" " + command_char_selector.value + "P or " + command_char_selector.value + "play - switch to play mode"); this.log_msg(" " + command_char_selector.value + "? or " + command_char_selector.value + "study - switch to study mode"); this.log_msg("commands common to study and play mode:"); this.log_msg(" " + this.movement_keys_desc + " - move"); @@ -707,7 +707,7 @@ tui.inputEl.addEventListener('keydown', (event) => { let [tokens, token_starts] = parser.tokenize(tui.inputEl.value); if (tokens.length > 0 && tokens[0].length > 0) { if (tui.inputEl.value[0][0] == command_char_selector.value) { - if (tokens[0].slice(1) == 'play' || tokens[0].slice(1) == 'p') { + if (tokens[0].slice(1) == 'play' || tokens[0].slice(1) == 'P') { tui.switch_mode(mode_play); } else if (tokens[0].slice(1) == 'study' || tokens[0].slice(1) == '?') { tui.switch_mode(mode_study);