mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-25 00:00:05 +03:00
Darker highlighting in the list
This commit is contained in:
parent
5c355468c1
commit
594e212b8a
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue