ratatui

Simple yet powerful multi-line text editor widget for Ratatui

40
2
100% credibility
Found Feb 04, 2026 at 18 stars 2x -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Rust
AI Summary

ratatui-textarea is a versatile text editor widget for terminal user interfaces supporting multi-line editing, keyboard shortcuts, undo/redo, search, selection, and mouse interaction.

How It Works

1
🔍 Discover a handy text editor for terminal apps

While building a simple screen-based program, you find this ready-made text box that lets people type and edit multi-line notes right in the terminal.

2
📥 Try the quick examples

You run a few demo programs to see the editor in action, watching it handle typing, scrolling, and shortcuts just like a familiar word processor.

3
Edit text smoothly with undo and search

You type away, delete words, undo mistakes, and search for phrases – it feels powerful and responsive, highlighting matches instantly.

4
🎨 Customize to fit your style

You adjust details like tab spacing, line numbers, or even add a placeholder hint, making it perfect for your program's look.

5
🔗 Drop it into your own program

You easily add the text box to your terminal app's screen layout, connecting it to handle keyboard and mouse inputs.

6
▶️ Test and launch your app

You run your program, edit some text, save changes, and see everything work seamlessly across the screen.

🎉 Users love the pro text editing

Friends and users rave about the intuitive editor in your terminal app, making note-taking or input feel effortless and fun.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 18 to 40 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is ratatui-textarea?

ratatui-textarea is a Rust crate delivering a multi-line text editor widget for Ratatui TUIs, mimicking HTML's `