opentui icon indicating copy to clipboard operation
opentui copied to clipboard

OpenTUI is a library for building terminal user interfaces (TUIs)

Results 92 opentui issues
Sort by recently updated
recently updated
newest added

Reproducible with opencode: https://github.com/user-attachments/assets/58ed1ff4-9efa-47c7-8e41-02b7c165a015 **Cause:** Editors like neovim, emacs, etc switch to the alternate screen. If this screen doesn't match the configured screen of the CliRenderer (determined by `useAlternateScreen`), the...

While writing TUI tests for opencode, I noticed that the onCleanup (solidjs) was only invoked when the process exited. This caused a lot of test flakiness because the components had...

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...

Closes https://github.com/sst/opencode/issues/3780 This can be fixed either by enabling a checkbox in iTerm2 (see https://github.com/sst/opencode/issues/3780#issuecomment-3508037343) or by merging this PR, which prevents showing the cursor ANSI code on every render....

I did something like: ``` await new Promise((resolve) => render(() => { const r = useRenderer() setTimeout(() => { r.destroy(); resolve() }, 500) return test }) console.log("test") // Doesn't print...

Instead of falling back to process.stdin in test renderer, create a mock `ReadableStream` instead. All the APIs currently expect a `ReadStream`, but functionally a `ReadableStream` might be enough, I propose...

Fixes #248. ## Changes ### Core - Adds new `exitSignals` option to renderer, which specifies a list of signals that the renderer should destroy itself upon receiving. - The handlers...

## Summary Refactors `ASCIIFont` to use `color` and `backgroundColor` properties instead of `fg`/`bg`, and updates examples and documentation. ## Changes - **API Refactor**: `ASCIIFont` now accepts `ColorInput | ColorInput[]` for...

Would love to see this published to [JSR ](https://jsr.io/#why-jsr) rather than, or in addition to npm. More readily accessible to additional runtimes