nushell/crates/nu-protocol/src
Maxim Zhiburt 217c2bae99
Move wrap responsibility on tabled (#5999)
* nu_table/ Replace wrap.rs logic by tabled::Width::wrap

Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>

* nu_table: Rename wrap.rs to width_control.rs

Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>

* nu_table: Add configuration of trimming

```
let-env config = ($env.config | upsert table_trim { methodology: 'wrapping', wrapping_try_keep_words: false })
let-env config = ($env.config | upsert table_trim { methodology: 'truncating', truncatting_suffix: '...@@...' })
```

Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>

* nu_table: Fix right padding issue

Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>

* nu_table: Fix trancate issue

Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>

* nu_table: Fix spelling in config

Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>

* nu_table: Update tabled dependency

Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>

* Update default_config.nu with a table_trim options

Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
2022-07-12 11:23:50 -05:00
..
ast Add bit operator: bit-xor (#5940) 2022-07-03 06:45:20 -05:00
engine Move input/output type from Command to Signature (#5880) 2022-06-26 09:23:56 +12:00
value Allow keeping selected environment variables from removed overlay (#6007) 2022-07-11 23:58:28 +03:00
cli_error.rs Expand Hooks Functionality (#5982) 2022-07-10 13:45:46 +03:00
config.rs Move wrap responsibility on tabled (#5999) 2022-07-12 11:23:50 -05:00
example.rs Start support for commandline args to nu itself (#851) 2022-01-27 01:42:39 +11:00
exportable.rs Add export alias and export extern (#4878) 2022-03-20 07:58:01 +13:00
id.rs Overlays (#5375) 2022-05-08 07:39:22 +12:00
lib.rs Overlays (#5375) 2022-05-08 07:39:22 +12:00
module.rs Overlays (#5375) 2022-05-08 07:39:22 +12:00
pipeline_data.rs add -e flag to print, to print the value to stderr (#5935) 2022-07-02 09:54:49 -05:00
shell_error.rs adds better error for failed string-to-duration conversions (#5977) 2022-07-07 05:54:38 -05:00
signature.rs add bytes len (#5945) 2022-07-04 05:51:07 -05:00
span.rs Remove 'empty' block support reminders, for now. (#5214) 2022-04-30 22:32:30 -05:00
syntax_shape.rs Better error handling using do (#5890) 2022-06-29 20:01:34 -05:00
ty.rs Remove dfr from dataframe commands (#5760) 2022-06-12 14:18:00 -05:00
variable.rs Add support for var decl spans (#4787) 2022-03-09 04:42:19 -05:00