Skip to content

Migrate textarea support to ratatui-textarea and align TUI dependencies - #138

Open
deepu105 with Copilot wants to merge 3 commits into
mainfrom
copilot/switch-to-ratatui-textarea
Open

Migrate textarea support to ratatui-textarea and align TUI dependencies#138
deepu105 with Copilot wants to merge 3 commits into
mainfrom
copilot/switch-to-ratatui-textarea

Conversation

Copilot AI commented May 28, 2026

Copy link
Copy Markdown
Contributor

This updates the TUI editor stack to the maintained ratatui-textarea crate and aligns the surrounding terminal dependencies with its compatibility requirements. The change keeps the existing textarea integration intact while moving the project onto the current ratatui/crossterm line.

  • Dependency migration

    • Replaced tui-textarea with ratatui-textarea
    • Upgraded ratatui from 0.29 to 0.30
    • Upgraded crossterm from 0.28 to 0.29
    • Upgraded tui-input to a version compatible with crossterm 0.29
  • Source updates

    • Swapped textarea imports from tui_textarea::TextArea to ratatui_textarea::TextArea
    • Kept the existing TextArea usage unchanged where the API remained compatible
  • Lockfile refresh

    • Regenerated Cargo.lock for the new dependency graph
    • Pulled in the updated transitive crates required by the ratatui 0.30 stack
  • Compatibility example

    use ratatui_textarea::TextArea;
    
    let input: TextArea<'_> = vec![
      "{".to_string(),
      r#"  "alg": "HS256","#.to_string(),
      r#"  "typ": "JWT""#.to_string(),
      "}".to_string(),
    ]
    .into();

Copilot AI linked an issue May 28, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Switch to ratatui-textarea in Cargo.toml Migrate textarea support to ratatui-textarea and align TUI dependencies May 28, 2026
Copilot AI requested a review from deepu105 May 28, 2026 12:55
@deepu105
deepu105 marked this pull request as ready for review May 28, 2026 12:58
@deepu105

Copy link
Copy Markdown
Contributor

@copilot fix the ci failure

Copilot AI commented May 31, 2026

Copy link
Copy Markdown
Contributor Author

@copilot fix the ci failure

Fixed in 61202e1. The failing CI job was Clippy; I updated the three blocking warnings and re-ran cargo fmt --all -- --check, cargo clippy --all --all-features --all-targets --workspace -- -D warnings, and cargo test, all of which now pass.

Copilot AI requested a review from deepu105 May 31, 2026 13:17
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.

switch to ratatui-textarea

3 participants