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
+11
View File
@@ -334,6 +334,17 @@ export function confirm(
return syscall("editor.confirm", message);
}
/**
* Prompt the user for confirmation
* @param message the message to show in the confirmation dialog
* @returns
*/
export function alert(
message: string,
): Promise<boolean> {
return syscall("editor.alert", message);
}
/**
* Get the value of a UI option
* @param key the key of the UI option to get