diff --git a/Cargo.lock b/Cargo.lock index 6bc32a0a26..209a0c5022 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -341,7 +341,7 @@ version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d13da3319ae5c5771712fba7b79b028793149bc462a08990bc8fd7c7554dbb95" dependencies = [ - "unicode-width", + "unicode-width 0.1.13", ] [[package]] @@ -1123,7 +1123,7 @@ dependencies = [ "once_cell", "parking_lot_core", "pretty_assertions", - "ratatui", + "ratatui 0.28.1", "rayon-core", "ron", "scopeguard", @@ -1138,7 +1138,7 @@ dependencies = [ "two-face", "unicode-segmentation", "unicode-truncate", - "unicode-width", + "unicode-width 0.1.13", "which", ] @@ -1736,6 +1736,12 @@ dependencies = [ "hashbrown", ] +[[package]] +name = "indoc" +version = "2.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5" + [[package]] name = "inotify" version = "0.9.6" @@ -2459,7 +2465,28 @@ dependencies = [ "strum_macros", "unicode-segmentation", "unicode-truncate", - "unicode-width", + "unicode-width 0.1.13", +] + +[[package]] +name = "ratatui" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eabd94c2f37801c20583fc49dd5cd6b0ba68c716787c2dd6ed18571e1e63117b" +dependencies = [ + "bitflags 2.6.0", + "cassowary", + "compact_str", + "crossterm", + "indoc", + "instability", + "itertools", + "lru", + "paste", + "strum", + "unicode-segmentation", + "unicode-truncate", + "unicode-width 0.2.0", ] [[package]] @@ -3111,13 +3138,13 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tui-textarea" -version = "0.6.1" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29c07084342a575cea919eea996b9658a358c800b03d435df581c1d7c60e065a" +checksum = "0a5318dd619ed73c52a9417ad19046724effc1287fb75cdcc4eca1d6ac1acbae" dependencies = [ "crossterm", - "ratatui", - "unicode-width", + "ratatui 0.29.0", + "unicode-width 0.2.0", ] [[package]] @@ -3187,7 +3214,7 @@ checksum = "b3644627a5af5fa321c95b9b235a72fd24cd29c648c2c379431e6628655627bf" dependencies = [ "itertools", "unicode-segmentation", - "unicode-width", + "unicode-width 0.1.13", ] [[package]] @@ -3196,6 +3223,12 @@ version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d" +[[package]] +name = "unicode-width" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd" + [[package]] name = "universal-hash" version = "0.5.1" diff --git a/Cargo.toml b/Cargo.toml index a7fc3fd908..f75198abee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -57,7 +57,7 @@ syntect = { version = "5.2", default-features = false, features = [ "default-themes", "html", ] } -tui-textarea = "0.6" +tui-textarea = "0.7" two-face = { version = "0.4.0", default-features = false } unicode-segmentation = "1.12" unicode-truncate = "1.0"