Skip to content

Commit

Permalink
Fix unwrap with default terminal size
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeRoggenbuck committed Oct 15, 2024
1 parent a176409 commit fa40595
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/daemon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ impl Checker for Daemon {
self.graph = self.grapher.update_one(&mut self.grapher.vals.clone());
}

let (term_width, _term_height) = termion::terminal_size().unwrap_or(80);
let (term_width, _term_height) = termion::terminal_size().unwrap_or((80, 80));

// Render two sections of the output
// Rendering before screen is cleared reduces the time between clear and print
Expand Down

0 comments on commit fa40595

Please sign in to comment.