feat(tui): auto-wrap keybind lines, show profiles keybinds
This commit is contained in:
1 parent
b0738761c9
commit
9e65fb43d8
6 files changed
+100
-52
No files matched your search
@@ -25,19 +25,12 @@ pub fn render(
|
||||
THEME.colors.border_unfocused
|
||||
};
|
||||
|
||||
let mut block = Block::default()
|
||||
let block = Block::default()
|
||||
.title(styled_title("Status", true))
|
||||
.borders(Borders::ALL)
|
||||
.border_type(BorderType::Rounded)
|
||||
.border_style(Style::default().fg(border_color));
|
||||
|
||||
if focused == FocusedArea::Status {
|
||||
block = block.title_bottom(
|
||||
super::popups::keybind_line(&[("S", " expand")])
|
||||
.alignment(ratatui::layout::Alignment::Right),
|
||||
);
|
||||
}
|
||||
|
||||
let state = match PROGRESS.lock() {
|
||||
Ok(s) => s.clone(),
|
||||
Err(_) => {
|
||||
|
||||
Reference in new issue
Block a user