Skip to content

Commit

Permalink
Provide terminal dimensions to better use horizontal space
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Sep 12, 2020
1 parent 79ac34c commit 11f6b84
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shared.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ pub fn setup_line_renderer_range(
initial_delay: Some(std::time::Duration::from_millis(1000)),
output_is_terminal,
colored: output_is_terminal && crosstermion::color::allowed(),
terminal_dimensions: crosstermion::terminal::size().unwrap_or((80, 20)),
timestamp: true,
hide_cursor,
throughput: true,
Expand Down

0 comments on commit 11f6b84

Please sign in to comment.