save VM state

This commit is contained in:
Rachel Powers
2024-04-19 20:06:19 -07:00
parent c63a1b3a4f
commit 9a374a4f73
22 changed files with 896 additions and 368 deletions

View File

@@ -87,6 +87,6 @@ export class VMICStack extends VMActiveICMixin(BaseElement) {
const input = e.target as SlInput;
const index = parseInt(input.getAttribute("key")!);
const val = parseNumber(input.value);
window.VM!.setStack(index, val);
window.VM.get().then(vm => vm.setStack(index, val));
}
}