Expand description
Multi-line text editing widget.
TextArea wraps Editor for text manipulation and
provides Frame-based rendering with viewport scrolling and cursor display.
§Example
use ftui_widgets::textarea::{TextArea, TextAreaState};
let mut ta = TextArea::new();
ta.insert_text("Hello\nWorld");
assert_eq!(ta.line_count(), 2);Structs§
- Text
Area - Multi-line text editor widget.
- Text
Area State - Render state tracked across frames.