1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-09-19 11:52:04 +02:00

Darker highlighting in the list

This commit is contained in:
mo8it 2024-08-26 00:53:42 +02:00
parent 5c355468c1
commit 594e212b8a

View File

@ -166,9 +166,9 @@ impl<'a> ListState<'a> {
{
if self.selected_row == Some(self.row_offset + n_displayed_rows) {
stdout.queue(SetBackgroundColor(Color::Rgb {
r: 50,
g: 50,
b: 50,
r: 40,
g: 40,
b: 40,
}))?;
stdout.write_all("🦀".as_bytes())?;
} else {