style(tui): update the style of the selection text

This commit is contained in:
Orhun Parmaksız 2022-01-26 23:55:30 +03:00
parent 67f6d0ea5a
commit fed7612caf
No known key found for this signature in database
GPG key ID: F83424824B3E4B90

View file

@ -146,7 +146,7 @@ fn render_selection_text<B: Backend>(frame: &mut Frame<'_, B>, rect: Rect, selec
Paragraph::new(selection_text).block(
Block::default()
.borders(Borders::NONE)
.style(Style::default().bg(Color::Black)),
.style(Style::default().bg(Color::White).fg(Color::Black)),
),
horizontal_area[1],
);