mondo mode for StrudelMirror / repl / mini repl

This commit is contained in:
Felix Roos
2025-03-23 22:47:33 +01:00
parent 6d21456423
commit 5eabcf0618
4 changed files with 11 additions and 2 deletions
+2
View File
@@ -30,6 +30,7 @@ export function MiniRepl({
maxHeight,
autodraw,
drawTime,
mondo = false,
}) {
const code = tunes ? tunes[0] : tune;
const id = useMemo(() => s4(), []);
@@ -85,6 +86,7 @@ export function MiniRepl({
},
beforeStart: () => audioReady,
afterEval: ({ code }) => setVersionDefaultsFrom(code),
mondo,
});
// init settings
editor.setCode(code);