Expand description
Multi-line text area component.
This module provides a multi-line text editor for TUI applications with features like line numbers, word wrapping, and viewport scrolling.
§Example
use bubbles::textarea::TextArea;
let mut textarea = TextArea::new();
textarea.set_value("Line 1\nLine 2\nLine 3");
// Render the textarea
let view = textarea.view();Structs§
- KeyMap
- Key bindings for textarea navigation.
- Paste
ErrMsg - Message for paste errors.
- Paste
Msg - Message for paste operations.
- Styles
- Styles for the textarea in different states.
- Text
Area - Multi-line text area model.