Expand description
Focus indicator styling for visually identifying the focused widget.
FocusIndicator describes how a focused widget should render its
focus cue. Widgets query the indicator to apply a focus style overlay,
border highlight, or underline to their focused state.
§Usage
use ftui_widgets::focus::FocusIndicator;
use ftui_style::Style;
// Default: reverse video on focused element
let indicator = FocusIndicator::default();
// Custom: blue underline with bold
let indicator = FocusIndicator::underline()
.with_style(Style::new().bold());Structs§
- Focus
Indicator - Configuration for how focused widgets render their focus cue.
Enums§
- Focus
Indicator Kind - The kind of visual cue used to indicate focus.