Expand description
Help view component.
This module provides a help view for displaying key bindings in TUI applications.
§Example
use bubbles::help::Help;
use bubbles::key::Binding;
let help = Help::new();
// Create some bindings
let quit = Binding::new().keys(&["q", "ctrl+c"]).help("q", "quit");
let save = Binding::new().keys(&["ctrl+s"]).help("ctrl+s", "save");
// Render short help
let view = help.short_help_view(&[&quit, &save]);Structs§
- Help
- Help view model.
- SetBindings
Msg - Message to set key bindings for the help view.
- SetWidth
Msg - Message to set the width of the help view.
- Styles
- Styles for the help view.
- Toggle
Full Help Msg - Message to toggle full help display.
Traits§
- KeyMap
- Trait for types that can provide key bindings for help display.