forked from extern/nushell
217c2bae99
* 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> |
||
---|---|---|
.. | ||
default_config.nu | ||
default_env.nu | ||
sample_login.nu |