nushell/crates/nu-table/src
Maxim Zhiburt 73d3708006
Patch restore lead trail space bg color (#10351)
```nu
 $env.config.color_config.leading_trailing_space_bg = { bg: 'white' }; [[a b, 'c   ']; ['  1  ' '    2' '3    '] ['  4  ' "hello   \n  world  " ['  1  ' 2 [1 '  2  ' 3]]]] | table --expand
```


![image](https://github.com/nushell/nushell/assets/20165848/01a35042-0e36-4c51-99a9-3011fabb551b)

ref: #2794
close: #10317

note: test are not actually make scenes cause `nu!` strips colors.
(Ideally it would need a flag to not do so)
note: It does does does ... slower down quite a bit rendering... (

PS: Maybe it's better being a flag to `table` rather then a
configuration option?
PS: I am not sure why the logic was removed in a first place
2023-09-13 07:47:53 -05:00
..
types Patch restore lead trail space bg color (#10351) 2023-09-13 07:47:53 -05:00
common.rs Patch restore lead trail space bg color (#10351) 2023-09-13 07:47:53 -05:00
lib.rs Add an option to set header on border (style) (#9920) 2023-08-04 13:50:47 -05:00
table_theme.rs Update crates-ci/typos and fix new typos (#10313) 2023-09-11 12:37:06 +02:00
table.rs Patch restore lead trail space bg color (#10351) 2023-09-13 07:47:53 -05:00
unstructured_table.rs Create Record type (#10103) 2023-08-25 07:50:29 +12:00
util.rs Add an option to set header on border (style) (#9920) 2023-08-04 13:50:47 -05:00