Repository navigation
v0.2.1
Fixes a crash when opening Markdown or code after the first render.
- Keep the OpenTUI
SyntaxStylealive for the component lifetime; it is now destroyed only on cleanup. Previouslyrenderer.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
bundleto avoid npm Git-dependency preparation on install. dist/tui.jsis prebuilt; nothing compiles on install.
Install:
git clone https://github.com/arthurrogado/opencode-file-browser ~/.config/opencode/plugins/file-browser