1
0
silverbullet/plugs/query/widget.ts
2023-12-28 16:14:30 +01:00

10 lines
205 B
TypeScript

import { codeWidget, editor } from "$sb/syscalls.ts";
export function refreshAllWidgets() {
codeWidget.refreshAll();
}
export async function editButton(pos: number) {
await editor.moveCursor(pos);
}