mirror of
https://github.com/nushell/nushell.git
synced 2025-01-22 22:29:10 +01:00
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>
23 lines
696 B
TOML
23 lines
696 B
TOML
[package]
|
|
authors = ["The Nushell Project Developers"]
|
|
description = "Nushell table printing"
|
|
edition = "2021"
|
|
license = "MIT"
|
|
name = "nu-table"
|
|
version = "0.65.1"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
[[bin]]
|
|
name = "table"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
nu-ansi-term = "0.46.0"
|
|
nu-protocol = { path = "../nu-protocol", version = "0.65.1" }
|
|
regex = "1.4"
|
|
unicode-width = "0.1.8"
|
|
strip-ansi-escapes = "0.1.1"
|
|
ansi-str = { git = "https://github.com/zhiburt/ansi-str", rev = "655cd8125a032286082794690c2cc6dc835345b4" }
|
|
atty = "0.2.14"
|
|
tabled = { git = "https://github.com/zhiburt/tabled", branch = "master", features = ["color"] }
|