diff --git a/crates/nu-cli/src/env/host.rs b/crates/nu-cli/src/env/host.rs index a361ea203..cddcb276c 100644 --- a/crates/nu-cli/src/env/host.rs +++ b/crates/nu-cli/src/env/host.rs @@ -126,7 +126,8 @@ impl Host for BasicHost { } fn width(&self) -> usize { - let (term_width, _) = term_size::dimensions().unwrap_or_else(|| (80, 20)); + let (mut term_width, _) = term_size::dimensions().unwrap_or_else(|| (80, 20)); + term_width -= 1; term_width } }