feat(settings): control shortcut guides

This commit is contained in:
objz committed 2026-09-05 13:37:45 +02:00
1 parent ea63cf7b40
commit 8b46a5168f
14 files changed
+299 -25

No files matched your search

+5
View File
@@ -455,6 +455,11 @@ pub fn render(
}
// The main panel footer stays on its border; lower-priority hints are omitted when narrow.
block = block.title_bottom(crate::tui::widgets::popups::keybind_line_fitted(
if focused == FocusedArea::Instances {
crate::config::settings::ShortcutHintScope::Instances
} else {
crate::config::settings::ShortcutHintScope::Content
},
&keybinds,
area.width.saturating_sub(2),
));