Cmd/Ctrl-click now opens page in new window

This commit is contained in:
Zef Hemel
2022-10-29 09:23:12 +02:00
parent 540af411a0
commit bef2c4c62b
4 changed files with 26 additions and 8 deletions
+2 -1
View File
@@ -33,8 +33,9 @@ export function navigate(
name: string,
pos?: string | number,
replaceState = false,
newWindow = false,
): Promise<void> {
return syscall("editor.navigate", name, pos, replaceState);
return syscall("editor.navigate", name, pos, replaceState, newWindow);
}
export function reloadPage(): Promise<void> {