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
JT
991a4801b1
Bump to 0.36 ( #3963 )
2021-08-25 06:01:17 +12:00
JT
bc682066d8
Bump to 0.35 ( #3884 )
2021-08-03 20:01:09 +12:00
JT
226739d13f
Bump to 0.34.1 ( #3835 )
2021-07-25 22:58:33 +12:00
JT
71f4ea9d76
Bump to 0.34.0 ( #3766 )
2021-07-14 05:57:41 +12:00
JT
edbc828fc3
Bump to 0.33.1 ( #3671 )
2021-06-23 19:57:41 +12:00
JT
55cab9eb4f
Bump to 0.33 ( #3667 )
2021-06-22 17:22:33 +12:00
JT
7d78f40bf6
Bump to 0.32.1 ( #3553 )
2021-06-04 19:07:50 +12:00
JT
df526f73be
Bump to 0.32 ( #3521 )
...
* Bump to 0.32
* Bump to 0.32
2021-06-01 08:14:50 +12:00
JT
2bb23c57df
Bump to 0.31.1 ( #3411 )
2021-05-12 15:06:50 +12:00
JT
48128c9db6
Bump to 0.31.0 ( #3405 )
2021-05-11 16:44:52 +12:00
JT
599c43ce04
bump to 0.30.1 ( #3348 )
2021-04-22 21:07:54 +12:00
JT
0fc9b6cfa2
Bump to 0.30 ( #3333 )
...
* Bump to 0.30
* fix test
2021-04-20 18:34:10 +12:00
Jonathan Turner
42fac722bb
Bump to 0.29.2 ( #3274 )
...
* Bump to 0.29.2
* Fix test
2021-04-07 08:14:06 +12:00
Jonathan Turner
06b154f4b2
Bump to 0.29.1 ( #3232 )
...
* Bump to 0.29.1
* fix test
2021-03-31 20:13:40 +13:00
Jonathan Turner
4faaa5310e
Bump to 0.29 ( #3230 )
...
* Bump to 0.29
* fix test
2021-03-30 22:35:21 +13:00
Jonathan Turner
22ae962b57
Bump to 0.28 ( #3149 )
2021-03-09 23:40:17 +13:00
Jonathan Turner
aa6c6120f6
Bump to 0.27.2 ( #3109 )
...
* Bump to 0.27.2
* Fix clippy and test
2021-02-26 17:55:25 +13:00
Darren Schroeder
2c89a228d5
add nu-ansi-term ( #3089 )
2021-02-22 12:33:34 -06:00
Jonathan Turner
deff1aa63b
Bump to 0.27.1 ( #3073 )
2021-02-18 18:54:48 +13:00
Jonathan Turner
039f223b53
Bump to 0.27 ( #3063 )
2021-02-16 19:20:05 +13:00
Jonathan Turner
6f17662a4e
Update some deps ( #3011 )
2021-02-06 09:54:54 +13:00
Jonathan Turner
c83aea3c89
Bump to 0.26.1 ( #3008 )
2021-02-05 19:38:04 +13:00
Jonathan Turner
388973e9ab
Bump to 0.26.0 ( #2974 )
2021-01-26 23:07:08 +13:00
Jonathan Turner
7d07881d96
Bump to 0.25.2 ( #2908 )
2021-01-12 07:50:53 +13:00
Jonathan Turner
5e72b2a797
Bump to 0.25.1 for the hotfix release ( #2870 )
2021-01-06 15:16:08 +13:00
Jonathan Turner
d297199d7c
Bump to 0.25.0 ( #2860 )
2021-01-05 18:10:24 +13:00
Darren Schroeder
2eac79569c
highlight trailing spaces in tables in darkgray ( #2794 )
...
* highlight trailing spaces in tables in darkgray
* added leading spaces highlighting
* added config point to change the color
* Trigger Build
2020-12-18 07:47:05 -06:00
Jonathan Turner
ac578b8491
Multiline scripts part 2 ( #2795 )
...
* Begin allowing comments and multiline scripts.
* clippy
* Finish moving to groups. Test pass
* Keep going
* WIP
* WIP
* BROKEN WIP
* WIP
* WIP
* Fix more tests
* WIP: alias starts working
* Broken WIP
* Broken WIP
* Variables begin to work
* captures start working
* A little better but needs fixed scope
* Shorthand env setting
* Update main merge
* Broken WIP
* WIP
* custom command parsing
* Custom commands start working
* Fix coloring and parsing of block
* Almost there
* Add some tests
* Add more param types
* Bump version
* Fix benchmark
* Fix stuff
2020-12-18 20:53:49 +13:00
Jonathan Turner
5183fd25bb
Bump version ( #2792 )
2020-12-16 09:13:18 +13:00
Jonathan Turner
a30837298d
Bump version ( #2791 )
2020-12-16 06:30:50 +13:00
Jonathan Turner
e299e76fcf
Bump to 0.23 ( #2766 )
2020-11-25 07:22:27 +13:00
Jonathan Turner
cb8491cfee
Bump to 0.22 ( #2726 )
2020-11-04 07:31:41 +13:00
Jonathan Turner
a6fdee4a51
bump to 0.21.1 ( #2702 )
...
* bump to 0.21.1
* bump trash version
2020-10-26 21:10:06 +13:00
Jonathan Turner
770e5d89f2
Bump to 0.21 ( #2663 )
2020-10-14 06:19:09 +13:00
Jonathan Turner
ebba89ea31
Bump to 0.20 ( #2588 )
2020-09-22 19:54:46 +12:00
Darren Schroeder
2eb4f8d28a
updated dependencies ( #2517 )
2020-09-09 10:35:45 +12:00
Jonathan Turner
882cf74137
Bump to 0.19.0 ( #2483 )
2020-09-02 15:37:06 +12:00
Jonathan Turner
da4d24d082
Bump to 0.18.2. Move starship external. ( #2345 )
...
* Bump to 0.18.2. Move starship external.
* Fix failing test
2020-08-14 07:02:45 +12:00
Jonathan Turner
87d71604ad
Bump to 0.18.1 ( #2335 )
2020-08-12 15:59:28 +12:00
Jonathan Turner
2ad07912d9
Bump to 0.18 ( #2325 )
2020-08-11 18:44:53 +12:00
Jonathan Turner
2a084fc838
Bump to 0.17.0 ( #2237 )
2020-07-22 06:41:49 +12:00
Jonathan Turner
d30c40b40e
Bump to 0.16.1 ( #2116 )
2020-07-06 08:12:44 +12:00
Jonathan Turner
0522023d4c
Bump to 0.16.0 ( #2084 )
2020-07-01 06:25:09 +12:00
Jonathan Turner
fcbaefed52
Nu table ( #2015 )
...
* WIP
* Get ready to land nu-table
* Remove unwrap
2020-06-20 15:41:53 +12:00