Expand description
The text entry field used everywhere. Single-line inputs submit on Enter and recall
history with arrows; multi-line ones insert newlines and recall with Ctrl-P/Ctrl-N;
statements submit on Enter, break lines on Alt+Enter and wrap. Editing belongs to
crate::widgets::textarea::TextArea; this adds theming, focus and history.
Modules§
- history
- Recall of submitted values for
super::TextInput. Each history’s id names its cache file (query, SQL and fuzzy keep separate lists); loaded lazily on first use. Reads and writes go throughCacheManagerunder a lock across read-modify-write, so concurrent instances merge.
Structs§
- Text
Input - A themed, optionally history-backed text field.
Enums§
- Text
Input Event - What a key press did to the input, for the caller to act on.
- Text
Input Mode - Whether the field holds one line or many.