Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Taraxtix committed Mar 3, 2024
1 parent 711230f commit 7f13dd1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -631,15 +631,17 @@ impl<'a, Writer: Write> Printer<'a, Writer> {
if is_empty {
self.print_header()?;
}

if self.line_buf == self.last_line {
match self.squeezer {
Squeezer::Delete => {self.idx += 8 * self.panels;
continue;}
Squeezer::Delete => {
self.idx += 8 * self.panels;
continue;
}
Squeezer::Ignore => self.squeezer = Squeezer::Print,
Squeezer::Print | Squeezer::Disabled => (),
}
}else{
} else {
match self.squeezer {
Squeezer::Delete | Squeezer::Print => self.squeezer = Squeezer::Ignore,
Squeezer::Ignore | Squeezer::Disabled => (),
Expand Down

0 comments on commit 7f13dd1

Please sign in to comment.