nushell/crates/nu-table
Maxim Zhiburt 0ab6b66d8f
nu-table/ Fix --collapse wrap/truncate [WIP] (#8042)
close #8034

So it's actually a work around to do "our best".

We basically try 3 attemps to build a table with each time truncating
values bigger then (termwidth/2, termwidth/4, termwidth/8).

PS1: The logic is kind of not ideal need to think about it.

_______________

PS2:
I've just noticed that multi-line key behaves strangely; (not sure
whether it's caused by this wrap (unlikely))
Need to investigate this.

I'd bet it's a multiline key.


![image](https://user-images.githubusercontent.com/20165848/218267237-6b7ee9af-675a-428e-92cd-65808cec50f0.png)

---------

Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
2023-02-22 14:10:17 +00:00
..
examples Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
src nu-table/ Fix --collapse wrap/truncate [WIP] (#8042) 2023-02-22 14:10:17 +00:00
tests fix some typos (#7773) 2023-01-16 12:43:46 +01:00
.gitignore Remove old nushell/merge engine-q 2022-02-07 14:54:06 -05:00
Cargo.toml Update to 0.76.1 version for development (#8161) 2023-02-21 23:21:39 +00:00
LICENSE Include license text in all crates (#5094) 2022-04-08 10:47:13 +02:00