Skip to content

Commit c1955f7

Browse files
committed
deps: ratatui 0.29 update
1 parent aa086d6 commit c1955f7

File tree

3 files changed

+36
-24
lines changed

3 files changed

+36
-24
lines changed

Cargo.lock

Lines changed: 30 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "macmon"
3-
version = "0.3.2"
3+
version = "0.3.3"
44
edition = "2021"
55

66
[lints.rust]
@@ -16,6 +16,6 @@ strip = false
1616
clap = { version = "4.5.20", features = ["derive"] }
1717
core-foundation = "0.10.0"
1818
libc = "0.2.161"
19-
ratatui = { version = "0.28.1", features = ["serde"] }
20-
serde = { version = "1.0.210", features = ["derive"] }
21-
serde_json = "1.0.129"
19+
ratatui = { version = "0.29.0", features = ["serde"] }
20+
serde = { version = "1.0.213", features = ["derive"] }
21+
serde_json = "1.0.132"

src/app.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,11 +221,11 @@ impl App {
221221
.padding(Padding::ZERO);
222222

223223
if label_l.len() > 0 {
224-
block = block.title(block::Title::from(format!(" {label_l} ")).alignment(Alignment::Left));
224+
block = block.title_top(Line::from(format!(" {label_l} ")));
225225
}
226226

227227
if label_r.len() > 0 {
228-
block = block.title(block::Title::from(format!(" {label_r} ")).alignment(Alignment::Right));
228+
block = block.title_top(Line::from(format!(" {label_r} ")).alignment(Alignment::Right));
229229
}
230230

231231
block

0 commit comments

Comments
 (0)