1
0
silverbullet/plugs/query/widget.ts

10 lines
205 B
TypeScript
Raw Normal View History

import { codeWidget, editor } from "$sb/syscalls.ts";
2023-11-15 09:08:21 +00:00
export function refreshAllWidgets() {
2023-11-15 09:08:21 +00:00
codeWidget.refreshAll();
}
export async function editButton(pos: number) {
await editor.moveCursor(pos);
}