fix: tui: Fix /editor command (#3663)

This commit is contained in:
Haris Gušić
2025-11-01 01:12:28 +01:00
committed by opencode
parent eb304f4115
commit c72f8b17c6
5 changed files with 7 additions and 11 deletions

View File

@@ -24,6 +24,7 @@ export namespace Editor {
})
await proc.exited
const content = await Bun.file(filepath).text()
opts.renderer.currentRenderBuffer.clear()
opts.renderer.resume()
opts.renderer.requestRender()
return content || undefined