Maxim Zhiburt
453c11b4b5
nu-table/ Bump tabled version ( #6097 )
...
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
2022-07-22 10:33:29 -05:00
Maxim Zhiburt
e5684bc34c
Consider space for single ...
column not enough space ( #6080 )
...
* nu-table: Refactoring
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
* nu-table: consider space for single `...` column not enough space
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
2022-07-19 12:35:25 -05:00
Maxim Zhiburt
41669e60c8
nu-table: Fix header style (again 2x) ( #6073 )
...
* nu-table: Fix header style
It did appeared again after my small change...
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
* nu-table: Add a empty header style test
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
2022-07-18 11:45:21 -05:00
Maxim Zhiburt
d8d88cd395
nu-table: Add suffix coloring ( #6071 )
...
* nu-table: Bump tabled
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
* nu-table: Add suffix coloring while truncating
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
* Fix cargo fmt
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
2022-07-17 13:56:31 -05:00
Maxim Zhiburt
7bf09559a6
Refactoring nu_table ( #6049 )
...
* nu-table: Remove unused dependencies
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
* nu-table: Small refactoring
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
* nu-table: Refactoring
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
* nu-table: Refactoring alignments
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
* nu-table: Add width check
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
* nu-table/ Use commit instead of branch of tabled
To be safe
* Update Cargo.lock
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
* nu-table: Bump tabled
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
2022-07-14 15:24:32 -05:00
Maxim Zhiburt
61e027b227
nu-table: Bump tabled to master ( #6038 )
...
There was aparently some debug message on the target commit?
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
2022-07-13 06:54:49 -05:00
Maxim Zhiburt
8b6232ac87
nu_table: Fix truncating logic ( #6028 )
...
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
2022-07-12 13:35:05 -05:00
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
Maxim Zhiburt
d1687df067
Give tabled a try ( #5969 )
...
* Drop in replacement from nu-table to tabled.
Must act the same way as original nu-table.
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
Fix some issues
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
* Bump ansi-str version
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
* Update to latest
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
* Fix footer issue
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
* Fix header alignment
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
* Fix header style
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
* Use latest tabled/ansi-str
* Refactorings
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
* Fix clippy warnings
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
2022-07-06 14:57:40 -05:00
Justin Ma
de162c9aea
Bump to 0.65.1 dev version ( #5962 )
2022-07-06 16:25:09 +12:00
JT
0d40d0438f
bump to 0.65 ( #5952 )
2022-07-05 17:54:16 +12:00
Darren Schroeder
8c9dced71b
fix excessive ansi escape sequences ( #5901 )
2022-06-27 18:51:14 -05:00
JT
533e04a60a
Bump to 0.64.1 dev version ( #5865 )
2022-06-24 16:47:00 +12:00
JT
d1c719a8cc
bump to 0.64 ( #5777 )
...
Co-authored-by: sholderbach <sholderbach@users.noreply.github.com>
2022-06-15 14:39:17 +12:00
Stefan Holderbach
a82fa75c31
Update nu-ansi-term to remove Deref
impl ( #5706 )
...
Resolves an unexpected issue due to `Deref` and `ToString` interacting
Details: https://github.com/nushell/nu-ansi-term/pull/5 and https://github.com/nushell/reedline/pull/435#issuecomment-1141348209
Also updates reedline: Includes a fix for a panic when the directory containing the history is deleted during a running reedline session. (nushell/reedline#436 )
2022-06-03 21:38:54 +02:00
JT
8e98df8b28
bump to dev version ( #5635 )
2022-05-25 19:09:44 -05:00
JT
06cf3fa5ad
Bump to 0.63 ( #5627 )
2022-05-25 11:33:28 +12:00
JT
374757f286
Bump to the 0.62.1 dev version ( #5473 )
2022-05-08 08:38:12 +12:00
JT
d306b834ca
Bump to 0.62 ( #5422 )
2022-05-04 09:01:27 +12:00
Maxim Zhiburt
ac48f5a318
Fix coloring when string has spaces ( #5425 )
...
* Replace ansi-cut with ansi-str
There's no issues with it we just need to use it later.
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
* Fix color losing in string spliting into Sublines
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
2022-05-03 09:48:43 -05:00
JT
5bf1c98a39
Move to dev version 0.61.1 ( #5206 )
2022-04-16 09:29:30 +12:00
JT
4566c904d0
Bump 0.61 ( #5166 )
2022-04-13 05:42:26 +12:00
Fernando Herrera
a4410fef40
Help menu ( #4992 )
...
* nu-completer with suggestions
* help menu with scrolling
* updates description rows based on space
* configuration for help menu
* update nu-ansi-term
* corrected test for update cells
* changed keybinding
2022-03-27 14:01:04 +01:00
JT
82e3bb0f38
Bump nushell to 0.60.1 ( #4987 )
2022-03-27 16:18:47 +13:00
JT
1c964cdfe7
Bump to 0.60 ( #4892 )
...
* WIP
* semi-revert metadata change
2022-03-23 07:32:03 +13:00
Darren Schroeder
6700fbeed7
rename update
to upsert
to mirror what it really does ( #4859 )
...
* rename `update` to `upsert` to mirror what it really does
* change to latest reedline and nu-ansi-term
2022-03-16 19:13:34 -05:00
JT
ff3dffd813
Nu glob ( #4818 )
...
* Fork glob. Normalise license holder
* Fix more licenses
* unwraps
* bad doc test
2022-03-13 11:30:27 -07:00
JT
4965f4cbf4
Bump to 0.59.1 ( #4689 )
2022-03-01 16:55:51 -05:00
JT
d70d91e559
Remove old nushell/merge engine-q
2022-02-07 14:54:06 -05:00
Fernando Herrera
fdce6c49ab
engine-q merge
2022-02-07 19:11:34 +00:00
Maxim Zhiburt
fd3eec81b5
Bump ansi-cut version to 0.2.0 ( #822 )
...
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
2022-01-22 18:36:40 -05:00
Michael Angerman
d4b6b4b09a
update all cargo crates to edition 2021 ( #781 )
2022-01-21 00:13:45 +11:00
JT
49e8af8ea5
Bump to 0.43 ( #4264 )
2022-01-18 12:06:12 -05:00
JT
850f66aa9d
Fix build breakage - bump ansi term ( #651 )
...
* Fix build breakage - bump ansi term
* Remove e-q ansi term
2022-01-03 09:36:32 +11:00
JT
62011b6bcc
Bump to 0.42 ( #4234 )
2021-12-28 20:56:59 +11:00
Darren Schroeder
9a864b5017
allow flatshape (command line syntax) theming ( #502 )
...
* allow flatshape (command line syntax) theming
* renamed crate, organized
2021-12-16 06:17:29 -06:00
Darren Schroeder
a8e5cb871e
optionally remove table output color ( #455 )
2021-12-09 10:00:26 -06:00
JT
610e3911f6
Bump to 0.41 ( #4187 )
2021-12-08 06:21:00 +13:00
Darren Schroeder
d8c721282b
add optional footer to table ( #392 )
...
* add optional footer to table
* missed a draw_table
2021-12-01 13:20:23 -06:00
Darren Schroeder
250743f60f
add coloring by primitive, bring in nu-ansi-term crate ( #353 )
...
* add coloring by primitive, bring in nu-ansi-term crate
* clippy
2021-11-20 07:12:35 -06:00
JT
2590fcbe5c
Bump to 0.40 ( #4129 )
2021-11-16 21:53:03 +13:00
Darren Schroeder
ab22619f4a
enable ls_colors for the ls
command ( #340 )
...
* enable ls_colors for the `ls` command
* added wrapping with ansi-cut so the ansi sequences don't bleed over
* clippy
2021-11-15 14:09:17 -06:00
JT
fcee3c65bd
Bump some deps ( #306 )
2021-11-08 11:09:30 +13:00
JT
2b06ce27d3
Bump to 0.39 ( #4097 )
2021-10-27 08:36:41 +13:00
JT
e1ebd461d2
Bump to 0.28 ( #4064 )
2021-10-06 06:35:25 +13:00
Darren Schroeder
d395816929
remove ansi colors if this is not a tty ( #4058 )
2021-10-01 09:00:08 -05:00
JT
8581bec891
bump 0.37.1 ( #4019 )
2021-09-16 13:32:22 +12:00
JT
1d80a68f4c
bump to 0.37 ( #4006 )
2021-09-15 06:44:24 +12:00
JT
26d50ebcd5
Add a very silly table
2021-09-10 14:27:12 +12:00
JT
7fe05b8296
bump to 0.36.1 ( #3972 )
2021-08-27 20:48:58 +12:00