Skip to content

Commit 603116f

Browse files
authored
ratatui update (#2403)
1 parent a923896 commit 603116f

File tree

6 files changed

+37
-17
lines changed

6 files changed

+37
-17
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ notify-debouncer-mini = "0.4"
3939
once_cell = "1"
4040
# pin until upgrading this does not introduce a duplicate dependency
4141
parking_lot_core = "=0.9.9"
42-
ratatui = { version = "0.28", default-features = false, features = [
42+
ratatui = { version = "0.29", default-features = false, features = [
4343
'crossterm',
4444
'serde',
4545
] }
@@ -57,11 +57,11 @@ syntect = { version = "5.2", default-features = false, features = [
5757
"default-themes",
5858
"html",
5959
] }
60-
tui-textarea = "0.6"
60+
tui-textarea = "0.7"
6161
two-face = { version = "0.4.0", default-features = false }
6262
unicode-segmentation = "1.12"
6363
unicode-truncate = "1.0"
64-
unicode-width = "0.1"
64+
unicode-width = "0.2"
6565
which = "6.0"
6666

6767
[dev-dependencies]

deny.toml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,12 @@ version = "1.0.3"
2222

2323
[bans]
2424
multiple-versions = "deny"
25-
skip-tree = [{ name = "windows-sys" }, { name = "bitflags" }, { name = "mio" }]
25+
skip-tree = [
26+
{ name = "bitflags" },
27+
# this is only needed for notify: https://github.com/notify-rs/notify/issues/648
28+
{ name = "mio" },
29+
# this is needed for:
30+
# `bwrap v1.3.0` (https://github.com/micl2e2/bwrap/pull/4)
31+
# `unicode-truncate v1.1.0` (https://github.com/Aetf/unicode-truncate/pull/23)
32+
{ name = "unicode-width" },
33+
]

src/popups/blame_file.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ impl DrawableComponent for BlameFilePopup {
138138

139139
let table = Table::new(rows, constraints)
140140
.column_spacing(1)
141-
.highlight_style(self.theme.text(true, true))
141+
.row_highlight_style(self.theme.text(true, true))
142142
.block(
143143
Block::default()
144144
.borders(Borders::ALL)

src/popups/file_revlog.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ impl FileRevlogPopup {
391391

392392
let table = Table::new(rows, constraints)
393393
.column_spacing(1)
394-
.highlight_style(self.theme.text(true, true))
394+
.row_highlight_style(self.theme.text(true, true))
395395
.block(
396396
Block::default()
397397
.borders(Borders::ALL)

src/popups/taglist.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ impl DrawableComponent for TagListPopup {
9494

9595
let table = Table::new(rows, constraints)
9696
.column_spacing(1)
97-
.highlight_style(self.theme.text(true, true))
97+
.row_highlight_style(self.theme.text(true, true))
9898
.block(
9999
Block::default()
100100
.borders(Borders::ALL)

0 commit comments

Comments
 (0)