This commit is contained in:
Chris Titus 2024-05-16 15:44:27 -05:00
parent 09ebb1c604
commit 35ddfa02c6
95 changed files with 2 additions and 3 deletions

View File

@ -28,7 +28,7 @@ fn main() -> Result<()> {
let area = frame.size();
let list = List::new(items)
.block(Block::default().title("List").borders(Borders::ALL))
.highlight_style(Style::new().bg(Color::Blue))
.highlight_style(Style::new().add_modifier(Modifier::REVERSED))
.highlight_symbol(">>")
.repeat_highlight_symbol(true);
@ -36,8 +36,7 @@ fn main() -> Result<()> {
frame.render_stateful_widget(list, area, &mut state);
frame.render_widget(
Paragraph::new("The Linux Toolbox (press 'q' to quit)")
.white()
.on_black(),
.style(Style::default().bg(Color::Blue).fg(Color::White).add_modifier(Modifier::BOLD)),
area,
);
})?;

Binary file not shown.