Skip to content

Remove tui-rs support and update ratatui support to 0.30.0#3

Merged
orhun merged 4 commits intoratatui:mainfrom
dotdash:update_raratui_to_0_30_0
Feb 21, 2026
Merged

Remove tui-rs support and update ratatui support to 0.30.0#3
orhun merged 4 commits intoratatui:mainfrom
dotdash:update_raratui_to_0_30_0

Conversation

@dotdash
Copy link
Copy Markdown
Contributor

@dotdash dotdash commented Feb 14, 2026

This removes all support for tui-rs, raises ratatui support to 0.30.0 by switching to the various new individual crates for the supported backends, core and widgets. It also updates the Rust edition to 2024 and raises the MSRV to 1.86.0 to match that of ratatui 0.30.0 so more modern features may be used.

@dotdash dotdash changed the title Remove tui-rs support and update ratatui to 0.30.0 Remove tui-rs support and update ratatui support to 0.30.0 Feb 14, 2026
@Jaxx497
Copy link
Copy Markdown

Jaxx497 commented Feb 15, 2026

Eagerly awaiting this

tlongwell-block added a commit to aaif-goose/goose that referenced this pull request Feb 20, 2026
Replace the tui-textarea dependency (via madsmao fork) with
ratatui-textarea from the official ratatui org's fork.

The upstream ratatui/ratatui-textarea main branch only supports
ratatui 0.29, which conflicts with bat's unicode-width ^0.2.1
requirement. Using dotdash's PR #3 branch (pinned to commit sha)
which adds ratatui 0.30 support via the split ratatui sub-crates.

Changes:
- Remove workspace [patch.crates-io] for tui-textarea
- Switch goose-tui dep from tui-textarea to ratatui-textarea
- Update all imports from tui_textarea to ratatui_textarea

Ref: ratatui/ratatui-textarea#3
@orhun
Copy link
Copy Markdown
Member

orhun commented Feb 21, 2026

This looks pretty good already! Can you fix the CI?

BREAKING: This removes the no-backend feature flag, just disabling
default features builds with no backend now.
No need to support anything older anymore.
@dotdash dotdash force-pushed the update_raratui_to_0_30_0 branch from a31abb7 to b6bdb50 Compare February 21, 2026 18:09
@dotdash
Copy link
Copy Markdown
Contributor Author

dotdash commented Feb 21, 2026

This looks pretty good already! Can you fix the CI?

Ah, completely forgot to test docs and missed .github "as per usual" because rg ignores dot directories 😅 Should all be good now

Copy link
Copy Markdown
Member

@orhun orhun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

amazing, thank you!

will create a new release shortly

@orhun orhun merged commit b9dee55 into ratatui:main Feb 21, 2026
5 checks passed
@github-actions github-actions Bot mentioned this pull request Feb 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants