fix(tui): move import keybind to content bar
This commit is contained in:
1 parent
dcadf1b1cc
commit
6f8c6e6d9a
2 files changed
+1
-7
No files matched your search
@@ -186,6 +186,7 @@ pub fn render(
|
||||
("Shift+⏎", " open dir"),
|
||||
("Esc", " kill"),
|
||||
("a", " add"),
|
||||
("i", " import"),
|
||||
("d", " delete"),
|
||||
("r", " rename"),
|
||||
("/", " search"),
|
||||
|
||||
@@ -208,15 +208,8 @@ pub fn render(frame: &mut Frame, area: Rect, focused: FocusedArea, state: &mut S
|
||||
THEME.profiles.border_unfocused_fg
|
||||
};
|
||||
|
||||
let keybind_line = super::popups::keybind_line(&[
|
||||
("a", " new"),
|
||||
("i", " import"),
|
||||
("d", " del"),
|
||||
]);
|
||||
|
||||
let mut block = Block::default()
|
||||
.title(styled_title("Profiles", true))
|
||||
.title_bottom(keybind_line.right_aligned())
|
||||
.borders(Borders::ALL)
|
||||
.border_type(THEME.general.border_type.to_border_type())
|
||||
.border_style(Style::default().fg(color));
|
||||
|
||||
Reference in new issue
Block a user