Fix logout & clean command

This commit is contained in:
Zef Hemel
2025-03-24 19:50:48 +01:00
parent 130b5b179a
commit 4616cb19e2
4 changed files with 23 additions and 12 deletions
+3
View File
@@ -348,6 +348,9 @@ export function editorSyscalls(client: Client): SysCallMapping {
"editor.confirm": (_ctx, message: string): Promise<boolean> => {
return client.confirm(message);
},
"editor.alert": (_ctx, message: string) => {
alert(message);
},
"editor.getUiOption": (_ctx, key: string): any => {
return (client.ui.viewState.uiOptions as any)[key];
},