mirror of
https://github.com/nushell/nushell.git
synced 2025-07-09 02:48:17 +02:00
# Description Add 'double' table mode, that is similar to `compact_double` but with left and right border lines. This is similar to how there exist both `single` and `compact`, but there is no `double` to compliment `compact_double`. Printing `[ { a: 1, b: 11 }, { a: 2, b:12 } ]` looks like this: ``` ╔═══╦═══╦════╗ ║ # ║ a ║ b ║ ╠═══╬═══╬════╣ ║ 0 ║ 1 ║ 11 ║ ║ 1 ║ 2 ║ 12 ║ ╚═══╩═══╩════╝ ``` The implementation is mostly a one-to-one of #15672 and #15681. # User-Facing Changes New value `double` to set as `$env.config.table.mode`. # Tests + Formatting Tests are added following the example of adding 'single' mode. # After Submitting
The layout logic for Nushell's table viewer.
See also the separate table
command implementation
Internal Nushell crate
This crate implements components of Nushell and is not designed to support plugin authors or other users directly.