feat(settings): control shortcut guides
This commit is contained in:
1 parent
ea63cf7b40
commit
8b46a5168f
14 files changed
+299
-25
No files matched your search
@@ -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),
|
||||
));
|
||||
|
||||
Reference in new issue
Block a user