feat(tui): auto-wrap keybind lines, show profiles keybinds

This commit is contained in:
objz committed 2026-01-10 15:55:33 +01:00
1 parent b0738761c9
commit 9e65fb43d8
6 files changed
+100 -52

No files matched your search

-14
View File
@@ -207,20 +207,6 @@ pub fn render(frame: &mut Frame, area: Rect, focused: FocusedArea, state: &mut S
block = block.title_top(search_line);
}
if focused == FocusedArea::Profiles {
block = block.title_bottom(
super::popups::keybind_line(&[
("l", " launch"),
("⏎", " content"),
("a", " add"),
("d", " del"),
("/", " search"),
("Esc", " kill"),
])
.alignment(ratatui::layout::Alignment::Right),
);
}
let scrollbar_area = Rect {
x: area.x + area.width.saturating_sub(1),
y: area.y + 1,