fix(tui): guard contextual content actions

This commit is contained in:
objz committed 2026-08-05 20:12:28 +02:00
1 parent 59707b77d2
commit 70286ed9b8
7 files changed
+114 -2

No files matched your search

+6 -1
View File
@@ -222,7 +222,12 @@ pub fn render(frame: &mut Frame, area: Rect, focused: FocusedArea, state: &mut A
let keybind_line = if focused == FocusedArea::Account {
Some(super::popups::keybind_line_fitted(
&[("⏎", " select"), ("a", " add"), ("d", " del")],
&[
("⏎", " select"),
("a", " add"),
("d", " del"),
("Esc", " back"),
],
area.width.saturating_sub(2),
))
} else {