aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
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;