Skip to main content

keybinding_spans

Function keybinding_spans 

Source
pub fn keybinding_spans() -> Vec<Span<'static>>
Expand description

Keybinding hint spans without the trailing session badge.

Used when the status bar stacks across multiple rows so that session/badge info can live on its own line.

ยงExamples

use codetether_agent::tui::ui::chat_view::status_hints::keybinding_spans;
let spans = keybinding_spans();
let text: String = spans.iter().map(|s| s.content.as_ref()).collect();
assert!(text.contains("Help"));