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 fee0aa9aeee52267f9cd38cec06dbb2e747c16a5..b49aac424e83234740820416992600fd497be863 100644
(file)
--- a/
new2/rogue_chat_nocanvas_monochrome.html
+++ b/
new2/rogue_chat_nocanvas_monochrome.html
@@
-327,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';
}