summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2023-07-21 00:19:25 -0400
committerGitHub <noreply@github.com>2023-07-21 00:19:25 -0400
commit646c9f191b694292a9ed1a633e02c4f91a8e5803 (patch)
treee3a481e4809eaadf919023ae587ffb0d53046f8d
parentd2b945957f7310b838cf5f6c3ed737ea8f4f2711 (diff)
deps: Update ratatui 0.22.0 (#1261)
* deps: bump ratatui to 0.22.0 * fix missing new fields
-rw-r--r--Cargo.lock20
-rw-r--r--Cargo.toml2
-rw-r--r--src/components/tui_widget/pipe_gauge.rs1
3 files changed, 19 insertions, 4 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 27e952a7..456d6e30 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -598,6 +598,12 @@ dependencies = [
]
[[package]]
+name = "indoc"
+version = "2.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2c785eefb63ebd0e33416dfcb8d6da0bf27ce752843a45632a67bf10d4d4b5c4"
+
+[[package]]
name = "io-lifetimes"
version = "1.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -861,6 +867,12 @@ dependencies = [
]
[[package]]
+name = "paste"
+version = "1.0.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c"
+
+[[package]]
name = "predicates"
version = "3.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -911,13 +923,15 @@ dependencies = [
[[package]]
name = "ratatui"
-version = "0.21.0"
+version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ce841e0486e7c2412c3740168ede33adeba8e154a15107b879d8162d77c7174e"
+checksum = "8285baa38bdc9f879d92c0e37cb562ef38aa3aeefca22b3200186bc39242d3d5"
dependencies = [
- "bitflags 1.3.2",
+ "bitflags 2.3.3",
"cassowary",
"crossterm",
+ "indoc",
+ "paste",
"unicode-segmentation",
"unicode-width",
]
diff --git a/Cargo.toml b/Cargo.toml
index d8e4f1a5..4bfcd9fb 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -99,7 +99,7 @@ sysinfo = "=0.29.5"
thiserror = "1.0.43"
time = { version = "0.3.23", features = ["formatting", "macros"] }
toml_edit = { version = "0.19.14", features = ["serde"] }
-tui = { version = "0.21.0", package = "ratatui" }
+tui = { version = "0.22.0", package = "ratatui" }
unicode-segmentation = "1.10.1"
unicode-width = "0.1.10"
diff --git a/src/components/tui_widget/pipe_gauge.rs b/src/components/tui_widget/pipe_gauge.rs
index 3fb543dc..08aa4ca2 100644
--- a/src/components/tui_widget/pipe_gauge.rs
+++ b/src/components/tui_widget/pipe_gauge.rs
@@ -207,6 +207,7 @@ impl<'a> Widget for PipeGauge<'a> {
bg: None,
add_modifier: self.gauge_style.add_modifier,
sub_modifier: self.gauge_style.sub_modifier,
+ underline_color: None,
});
}