mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-05-17 22:22:44 +02: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…
x
Reference in New Issue
Block a user