aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-08-14 15:14:15 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-08-14 15:14:15 -0400
commit338f7364b1cf475ad1f7db94e448b7f71bd18624 (patch)
tree7532a2369b99e9b622a0799d9601c4a65ead0a25 /docs
parent85e686623d4fe964c1be84fb08df860aab017407 (diff)
Allow any modifier with enter to execute
Diffstat (limited to 'docs')
-rw-r--r--docs/try.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/try.html b/docs/try.html
index 6d10ad2a..f53e17a9 100644
--- a/docs/try.html
+++ b/docs/try.html
@@ -54,7 +54,7 @@ doc.code.onkeydown = ev => {
let k = ev.which;
if (16<=k && k<=20) {
return;
- } if (ev.shiftKey && k==13) { // shift-enter
+ } if (k==13 && (ev.shiftKey||ev.ctrlKey||ev.altKey||ev.metaKey)) { // *-enter
repl(); return false;
} if (keymode) {
keymode = 0;