X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=new2%2Frogue_chat_nocanvas_monochrome.html;h=3219896b453c03cd57ce9d168769d5c6d892b569;hb=8253f6c5508daad0e1c4dabeb48ed195b1ffb3a1;hp=09d400d8ca5c78eb6536fc042ffb10cf42de0a31;hpb=b5c982519a4df407d655d6a572d2776d17edc423;p=plomrogue2-experiments diff --git a/new2/rogue_chat_nocanvas_monochrome.html b/new2/rogue_chat_nocanvas_monochrome.html index 09d400d..3219896 100644 --- a/new2/rogue_chat_nocanvas_monochrome.html +++ b/new2/rogue_chat_nocanvas_monochrome.html @@ -580,15 +580,15 @@ document.addEventListener('keydown', (event) => { tui.switch_mode(mode_chat); } else if (event.key == 'p') { tui.switch_mode(mode_play); - } else if (event.key === 'a') { - explorer.move('left'); } else if (event.key === tui.key_left) { - explorer.move('right'); + explorer.move('left'); } else if (event.key === tui.key_right) { - explorer.move('up'); + explorer.move('right'); } else if (event.key === tui.key_up) { - explorer.move('down'); + explorer.move('up'); } else if (event.key === tui.key_down) { + explorer.move('down'); + } else if (event.key === 'e') { tui.switch_mode(mode_annotate); }; }