nushell/crates/nu-table
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
..
examples Add an option to set header on border (style) (#9920) 2023-08-04 13:50:47 -05:00
src Patch restore lead trail space bg color (#10351) 2023-09-13 07:47:53 -05:00
tests Add an option to set header on border (style) (#9920) 2023-08-04 13:50:47 -05:00
.gitignore Remove old nushell/merge engine-q 2022-02-07 14:54:06 -05:00
Cargo.toml Patch restore lead trail space bg color (#10351) 2023-09-13 07:47:53 -05:00
LICENSE Fix rest of license year ranges (#8727) 2023-04-04 09:03:29 +12:00