fix(tui): guard contextual content actions
This commit is contained in:
1 parent
59707b77d2
commit
70286ed9b8
7 files changed
+114
-2
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user