Skip to content

v0.2.1

Choose a tag to compare

@arthurrogado arthurrogado released this 08 Nov 14:40
· 17 commits to main since this release

Fixes a crash when opening Markdown or code after the first render.

  • Keep the OpenTUI SyntaxStyle alive for the component lifetime; it is now destroyed only on cleanup. Previously renderer.idle() resolved after the next frame and destroyed the style while the viewer was still using it (Could not render this file: NativeSyntaxStyle is destroyed).
  • Rename the build script to bundle to avoid npm Git-dependency preparation on install.
  • dist/tui.js is prebuilt; nothing compiles on install.

Install:

git clone https://github.com/arthurrogado/opencode-file-browser ~/.config/opencode/plugins/file-browser