Skip to content

Commit

Permalink
fix: white flash in select when filtering: true (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
roele authored Jan 24, 2025
1 parent 7324973 commit 68012eb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/select.rs
Original file line number Diff line number Diff line change
Expand Up @@ -396,8 +396,10 @@ impl<'a, T> Select<'a, T> {
}
if cursor_idx >= self.filter.len() {
out.set_color(&self.theme.real_cursor_color(None))?;
write!(out, " ")?;
out.reset()?;
}
writeln!(out, " ")?;
writeln!(out)?;
out.reset()?;
}

Expand Down

0 comments on commit 68012eb

Please sign in to comment.