Live Preview (#119)

Live preview mode is here
This commit is contained in:
Zef Hemel
2022-11-18 16:04:37 +01:00
committed by GitHub
parent c9713bf52b
commit 24c17a793f
42 changed files with 1502 additions and 183 deletions
+6
View File
@@ -112,6 +112,12 @@ export function prompt(
return syscall("editor.prompt", message, defaultValue);
}
export function confirm(
message: string,
): Promise<boolean> {
return syscall("editor.confirm", message);
}
export function enableReadOnlyMode(enabled: boolean) {
return syscall("editor.enableReadOnlyMode", enabled);
}