Skip to content

migrate from tui-textarea to ratatui-textarea#2889

Merged
extrawurst merged 5 commits intogitui-org:masterfrom
pm100:master
Mar 28, 2026
Merged

migrate from tui-textarea to ratatui-textarea#2889
extrawurst merged 5 commits intogitui-org:masterfrom
pm100:master

Conversation

@pm100
Copy link
Copy Markdown
Contributor

@pm100 pm100 commented Mar 23, 2026

Replace tui-textarea 0.7 with ratatui-textarea 0.8, the ratatui-org maintained fork of tui-textarea.

Changes

  • Cargo.toml: swap tui-textarea = "0.7" to ratatui-textarea = "0.8"
  • Cargo.toml: upgrade ratatui 0.29 to 0.30 (required by ratatui-textarea 0.8, which uses ratatui-core 0.1)
  • Cargo.toml: upgrade crossterm 0.28 to 0.29 (required by ratatui 0.30)
  • src/components/textinput.rs: update import from tui_textarea to ratatui_textarea

Notes

ratatui-textarea is a direct fork of tui-textarea maintained by the ratatui organization. The API is identical so no logic changes were needed. All 74 existing tests pass.

pm100 and others added 2 commits March 22, 2026 21:51
Replace tui-textarea 0.7 with ratatui-textarea 0.8, the ratatui-org
maintained fork. Also upgrade ratatui 0.29->0.30 and crossterm 0.28->0.29
which are required by ratatui-textarea 0.8.

The API is identical so only import paths changed.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@extrawurst extrawurst requested a review from cruessler March 23, 2026 17:23
@cruessler
Copy link
Copy Markdown
Collaborator

I’ll have a look! I hope to get to it over the weekend at the latest.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@pm100
Copy link
Copy Markdown
Contributor Author

pm100 commented Mar 25, 2026

I have fixed the indent change (done by cargo-sort when I fixed the failure) - the rest of the failure is because we are caught in the cross fire cause by a recent commit regarding formatting

Copy link
Copy Markdown
Collaborator

@cruessler cruessler left a comment

Choose a reason for hiding this comment

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

Thanks a lot, I don’t see any issues! I briefly checked some text fields through cargo run on Ubuntu 25.10.

@extrawurst extrawurst merged commit 8b2de11 into gitui-org:master Mar 28, 2026
22 checks passed
@extrawurst extrawurst added this to the v0.29 milestone Mar 28, 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