X-Git-Url: https://plomlompom.com/repos/new_day?a=blobdiff_plain;ds=sidebyside;f=new2%2Frogue_chat_nocanvas_monochrome.html;h=0708135759b6d69b5bcec521d65627ac98972b7c;hb=9f8615e5a977bc1109bbd14c48605180c5ea268f;hp=a42387f031f08f8906b861779520609a06923b07;hpb=4b5fbf85d84eab0ba0ef4b64039c016b280e36cc;p=plomrogue2-experiments diff --git a/new2/rogue_chat_nocanvas_monochrome.html b/new2/rogue_chat_nocanvas_monochrome.html index a42387f..0708135 100644 --- a/new2/rogue_chat_nocanvas_monochrome.html +++ b/new2/rogue_chat_nocanvas_monochrome.html @@ -666,6 +666,7 @@ tui.inputEl.addEventListener('keydown', (event) => { }; } else if (tui.mode == mode_study) { if (event.key === 'c') { + event.preventDefault(); tui.switch_mode(mode_chat); } else if (event.key == 'p') { tui.switch_mode(mode_play);