home
·
contact
·
privacy
projects
/
plomrogue2-experiments
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow space char for TASK:WRITE.
[plomrogue2-experiments]
/
new2
/
rogue_chat_nocanvas_monochrome.html
diff --git
a/new2/rogue_chat_nocanvas_monochrome.html
b/new2/rogue_chat_nocanvas_monochrome.html
index 7f852bc92139ad714ec36d96879b7694cdc4dc67..b49aac424e83234740820416992600fd497be863 100644
(file)
--- a/
new2/rogue_chat_nocanvas_monochrome.html
+++ b/
new2/rogue_chat_nocanvas_monochrome.html
@@
-184,7
+184,9
@@
let tui = {
terminal.refresh();
},
log_help: function() {
terminal.refresh();
},
log_help: function() {
+ tui.log_msg("");
tui.log_msg("HELP", 1);
tui.log_msg("HELP", 1);
+ tui.log_msg("chat mode commands:", 1);
tui.log_msg("");
tui.log_msg("/login USER - register as USER", 3);
tui.log_msg("/msg USER TEXT - send TEXT to USER", 3);
tui.log_msg("");
tui.log_msg("/login USER - register as USER", 3);
tui.log_msg("/msg USER TEXT - send TEXT to USER", 3);
@@
-325,7
+327,7
@@
document.addEventListener('keydown', (event) => {
};
} else if (mode == 'edit') {
if (event.key.length === 1) {
};
} else if (mode == 'edit') {
if (event.key.length === 1) {
- websocket.send("TASK:WRITE " +
event.key
);
+ websocket.send("TASK:WRITE " +
quote(event.key)
);
}
mode = 'game';
}
}
mode = 'game';
}