Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
mrlazy1708 committed Jul 27, 2023
1 parent 1aa14ae commit 83d10a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ pub fn refresh() -> io::Result<()> {
}

let nbars = tqdm.len();
if nbars >= nrows + 1 {
if nbars > nrows {
io::stderr().queue(crossterm::terminal::Clear(
crossterm::terminal::ClearType::FromCursorDown,
))?;
Expand Down

0 comments on commit 83d10a0

Please sign in to comment.