mirror of
https://github.com/nushell/nushell
synced 2024-12-27 05:23:11 +00:00
fix 1 off table wrapping for help commands (#460)
This commit is contained in:
parent
7a892ec5d7
commit
2e2d5ef0eb
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue