Expand description
Single-line text input component.
This module provides a text input field for TUI applications with features like password masking, suggestions, and validation.
§Example
use bubbles::textinput::TextInput;
let mut input = TextInput::new();
input.set_placeholder("Enter your name");
input.set_value("Hello");
// Render the input
let view = input.view();Structs§
- KeyMap
- Key bindings for text input navigation.
- Paste
ErrMsg - Message for paste errors.
- Paste
Msg - Message for paste operations.
- Text
Input - Single-line text input model.
Enums§
- Echo
Mode - Echo mode for the text input.
Type Aliases§
- Validate
Fn - Validation function type.