Describe the bug

The output from table -e doesn't look correct here.

> du | table -e
╭────┬──────────┬──────────┬──────────┬─────╮
│  # │   path   │ apparent │ physical │ ... │
├────┼──────────┼──────────┼──────────┼─────┤
│  0 │ .cargo   │   1.1 KB │   4.1 KB │ ... │
│  1 │ .git     │  28.4 MB │  30.7 MB │ ... │
│  2 │ .github  │  26.4 KB │  53.2 KB │ ... │
│  3 │ .vscode  │   1.8 KB │   8.2 KB │ ... │
│  4 │ assets   │  11.4 KB │  12.3 KB │ ... │
│  5 │ benches  │   6.8 KB │  12.3 KB │ ... │
│  6 │ crates   │   5.9 MB │   8.2 MB │ ... │
│  7 │ docker   │   1.8 KB │  12.3 KB │ ... │
│  8 │ docs     │    619 B │   4.1 KB │ ... │
│  9 │ images   │   1.3 MB │   1.3 MB │ ... │
│ 10 │ pkg_mgrs │    724 B │   4.1 KB │ ... │
│ 11 │ src      │ 110.6 KB │ 176.1 KB │ ... │
│ 12 │ target   │  64.3 GB │  64.6 GB │ ... │
│ 13 │ tests    │ 371.1 KB │ 966.7 KB │ ... │
│ 14 │ wix      │  22.0 KB │  28.7 KB │ ... │
╰────┴──────────┴──────────┴──────────┴─────╯

The same is true for du -a | table -e

How to reproduce

See above

Expected behavior

Expand the table

Screenshots

No response

Configuration

|key|value| |-|-| |version|0.74.1| |branch|main| |commit_hash|4bac90a3b2742b53021354ce6f7fcddd2e16b215| |build_os|macos-aarch64| |build_target|aarch64-apple-darwin| |rust_version|rustc 1.65.0 (897e37553 2022-11-02)| |rust_channel|1.65.0-aarch64-apple-darwin| |cargo_version|cargo 1.65.0 (4bc8f24d3 2022-10-20)| |pkg_version|0.74.1| |build_time|2023-01-23 06:26:20 -06:00| |build_rust_channel|release| |features|database, dataframe, default, trash, which, zip| |installed_plugins|custom-value generate, custom-value generate2, custom-value update, from parquet, from plist, gstat, hist, inc, nu-example-1, nu-example-2, nu-example-3, periodic-table, plot, pnet, query, query json, query web, query xml, regex, xyplot|

Additional context

/cc @zhiburt

0
© 2022 pullanswer.com - All rights reserved.