* 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
This commit is contained in:
Fernando Herrera
2022-03-27 14:01:04 +01:00
committed by GitHub
parent 0011f4df56
commit a4410fef40
15 changed files with 1152 additions and 192 deletions

View File

@ -23,7 +23,7 @@ nu-table = { path = "../nu-table", version = "0.60.1" }
nu-term-grid = { path = "../nu-term-grid", version = "0.60.1" }
nu-test-support = { path = "../nu-test-support", version = "0.60.1" }
nu-utils = { path = "../nu-utils", version = "0.60.1" }
nu-ansi-term = "0.45.0"
nu-ansi-term = "0.45.1"
# Potential dependencies for extras
base64 = "0.13.0"
@ -77,7 +77,8 @@ unicode-segmentation = "1.8.0"
url = "2.2.1"
uuid = { version = "0.8.2", features = ["v4"] }
which = { version = "4.2.2", optional = true }
reedline = { git = "https://github.com/nushell/reedline" }
#reedline = "0.3.0"
reedline = { git = "https://github.com/nushell/reedline", branch = "main" }
zip = { version="0.5.9", optional = true }
[target.'cfg(unix)'.dependencies]

View File

@ -43,7 +43,7 @@ impl Command for UpdateCells {
example: r#"[
["2021-04-16", "2021-06-10", "2021-09-18", "2021-10-15", "2021-11-16", "2021-11-17", "2021-11-18"];
[ 37, 0, 0, 0, 37, 0, 0]
] | update cells {|value|
] | update cells { |value|
if $value == 0 {
""
} else {
@ -80,7 +80,7 @@ impl Command for UpdateCells {
example: r#"[
["2021-04-16", "2021-06-10", "2021-09-18", "2021-10-15", "2021-11-16", "2021-11-17", "2021-11-18"];
[ 37, 0, 0, 0, 37, 0, 0]
] | update cells -c ["2021-11-18", "2021-11-17"] {|value|
] | update cells -c ["2021-11-18", "2021-11-17"] { |value|
if $value == 0 {
""
} else {