From 876b7b8b549b5352426084dcba4823a418575a6e Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Sat, 11 Jul 2020 12:28:20 -0400 Subject: Allow user-supplied width to exceed terminal width --- src/options/set.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/options/set.rs b/src/options/set.rs index 5e272574..aacf0584 100644 --- a/src/options/set.rs +++ b/src/options/set.rs @@ -1,4 +1,3 @@ -use std::cmp::min; use std::collections::{HashMap, HashSet, VecDeque}; use std::process; @@ -475,10 +474,7 @@ fn set_widths(opt: &mut cli::Opt) { eprintln!("Could not parse width as a positive integer: {:?}", width); process::exit(1); }); - ( - cli::Width::Fixed(min(width, opt.computed.available_terminal_width)), - true, - ) + (cli::Width::Fixed(width), true) } None => ( cli::Width::Fixed(opt.computed.available_terminal_width), -- cgit v1.2.3