nu-table: Improve table -a (#11905)

Hi there;

Sorry took that long to respond.

I guess it's good?
It will consume the whole stream whether possible.
I do believe it will be faster in WSL in general too (in a sense of
whole buffer output), but its interesting issue probably needed to be
separated. It was not very well explained as well.

```nushell
> 0..2000 | table -a 2
╭───┬──────╮
│ 0 │    0 │
│ 1 │    1 │
│ 2 │ ...  │
│ 3 │ 1999 │
│ 4 │ 2000 │
╰───┴──────╯
```

Take care

fix: #11845

cc: @fdncred
This commit is contained in:
Maxim Zhiburt
2024-02-24 04:12:10 +03:00
committed by GitHub
parent f7d647ac3c
commit 6be91a68f3
2 changed files with 146 additions and 82 deletions

File diff suppressed because one or more lines are too long