mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 14:40:06 +02:00
Fix term width for the table (#346)
This commit is contained in:
@ -37,7 +37,7 @@ impl Command for Table {
|
||||
let config = stack.get_config()?;
|
||||
|
||||
let term_width = if let Some((Width(w), Height(_h))) = terminal_size::terminal_size() {
|
||||
w as usize
|
||||
(w - 1) as usize
|
||||
} else {
|
||||
80usize
|
||||
};
|
||||
|
Reference in New Issue
Block a user