mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
..
This commit is contained in:
parent
8810dd38c7
commit
af6172ed2c
1 changed files with 3 additions and 3 deletions
|
|
@ -20,16 +20,16 @@ impl Widget for Bindings<'_> {
|
|||
|
||||
// On
|
||||
let col1: Vec<_> =
|
||||
bindings.iter().map(|c| ListItem::new(c.on()).style(THEME.help.on.into())).collect();
|
||||
bindings.iter().map(|c| ListItem::new(c.on()).style(THEME.help.on)).collect();
|
||||
|
||||
// Exec
|
||||
let col2: Vec<_> =
|
||||
bindings.iter().map(|c| ListItem::new(c.exec()).style(THEME.help.exec.into())).collect();
|
||||
bindings.iter().map(|c| ListItem::new(c.exec()).style(THEME.help.exec)).collect();
|
||||
|
||||
// Desc
|
||||
let col3: Vec<_> = bindings
|
||||
.iter()
|
||||
.map(|c| ListItem::new(c.desc.as_deref().unwrap_or("-")).style(THEME.help.desc.into()))
|
||||
.map(|c| ListItem::new(c.desc.as_deref().unwrap_or("-")).style(THEME.help.desc))
|
||||
.collect();
|
||||
|
||||
let chunks = layout::Layout::horizontal([
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue