mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-21 02:28:34 +00:00
fix: main repl option-dot on mac
This commit is contained in:
parent
7850fb727e
commit
3b4e44a9fd
@ -157,7 +157,7 @@ export function Repl({ embedded = false }) {
|
|||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
flash(view);
|
flash(view);
|
||||||
await activateCode();
|
await activateCode();
|
||||||
} else if (e.key === '.' || e.keyCode === 'Period') {
|
} else if (e.key === '.' || e.code === 'Period') {
|
||||||
stop();
|
stop();
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user