mirror of
https://github.com/nushell/nushell.git
synced 2024-12-22 15:13:01 +01:00
fix 1 off table wrapping for help commands (#460)
This commit is contained in:
parent
7a892ec5d7
commit
2e2d5ef0eb
@ -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 New Issue
Block a user