From 2e2d5ef0eb564b045a7a0caced61aaf58b9e4372 Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Thu, 9 Dec 2021 19:16:50 -0600 Subject: [PATCH] fix 1 off table wrapping for help commands (#460) --- crates/nu-table/src/table.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-table/src/table.rs b/crates/nu-table/src/table.rs index 4ae9cf179e..b4c324374c 100644 --- a/crates/nu-table/src/table.rs +++ b/crates/nu-table/src/table.rs @@ -1062,7 +1062,7 @@ pub fn draw_table( ) -> String { // Remove the edges, if used let termwidth = if table.theme.print_left_border && table.theme.print_right_border { - termwidth - 2 + termwidth - 3 } else if table.theme.print_left_border || table.theme.print_right_border { termwidth - 1 } else {