mirror of
https://github.com/notohh/rustlings.git
synced 2024-12-17 22:58:08 -05:00
Darker highlighting in the list
This commit is contained in:
parent
5c355468c1
commit
594e212b8a
1 changed files with 3 additions and 3 deletions
|
@ -166,9 +166,9 @@ impl<'a> ListState<'a> {
|
||||||
{
|
{
|
||||||
if self.selected_row == Some(self.row_offset + n_displayed_rows) {
|
if self.selected_row == Some(self.row_offset + n_displayed_rows) {
|
||||||
stdout.queue(SetBackgroundColor(Color::Rgb {
|
stdout.queue(SetBackgroundColor(Color::Rgb {
|
||||||
r: 50,
|
r: 40,
|
||||||
g: 50,
|
g: 40,
|
||||||
b: 50,
|
b: 40,
|
||||||
}))?;
|
}))?;
|
||||||
stdout.write_all("🦀".as_bytes())?;
|
stdout.write_all("🦀".as_bytes())?;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue