opentui
opentui copied to clipboard
fix(solid): Call lifecycle dispose on testSetup.renderer.destroy
This is a proof of concept for fixing #288.
A potential alternative would be to add a dispose or onDestroy parameter to CliRendererConfig.
I only added it to the solidjs testSetup because I currently need it to write the opencode TUI tests. After your feedback, I can also add it to the production solidjs render and react+vue (if applicable).