Skip to content

Commit

Permalink
Update Ratatui to 0.29.0 (#86)
Browse files Browse the repository at this point in the history
Co-authored-by: Josh McKinney <[email protected]>
  • Loading branch information
ricott1 and joshka authored Oct 22, 2024
1 parent 2cae64b commit 413c4f6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ arbitrary = ["dep:arbitrary"]
arbitrary = { version = "1", features = ["derive"], optional = true }
crossterm = { package = "crossterm", version = "0.28", optional = true }
crossterm-025 = { package = "crossterm", version = "0.25", optional = true }
ratatui = { version = "0.28", default-features = false, optional = true }
ratatui = { version = "0.29.0", default-features = false, optional = true }
regex = { version = "1", optional = true }
termion = { version = "4.0", optional = true }
termion-15 = { package = "termion", version = "1.5", optional = true }
termwiz = { version = "0.22.0", optional = true }
tui = { version = "0.19", default-features = false, optional = true }
unicode-width = "0.1.11"
unicode-width = "0.2.0"
serde = { version = "1", optional = true , features = ["derive"] }

[[example]]
Expand Down
2 changes: 1 addition & 1 deletion bench/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ bench = false

[dependencies]
tui-textarea = { path = "..", features = ["no-backend", "search"] }
ratatui = { version = ">=0.28.0", default-features = false }
ratatui = { version = "0.29.0", default-features = false }

[dev-dependencies]
criterion = "0.5"
Expand Down
5 changes: 5 additions & 0 deletions bench/benches/insert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ fn append_lorem(repeat: usize) -> usize {
key: Key::Char(c),
ctrl: false,
alt: false,
shift: false,
});
term.draw_textarea(&textarea);
}
Expand All @@ -23,6 +24,7 @@ fn append_lorem(repeat: usize) -> usize {
key: Key::Enter,
ctrl: false,
alt: false,
shift: false,
});
term.draw_textarea(&textarea);
}
Expand All @@ -45,6 +47,7 @@ fn random_lorem(repeat: usize) -> usize {
key: Key::Enter,
ctrl: false,
alt: false,
shift: false,
});
term.draw_textarea(&textarea);

Expand All @@ -53,6 +56,7 @@ fn random_lorem(repeat: usize) -> usize {
key: Key::Char(c),
ctrl: false,
alt: false,
shift: false,
});
term.draw_textarea(&textarea);
}
Expand All @@ -74,6 +78,7 @@ fn append_long_lorem(repeat: usize) -> usize {
key: Key::Char(c),
ctrl: false,
alt: false,
shift: false,
});
term.draw_textarea(&textarea);
}
Expand Down

0 comments on commit 413c4f6

Please sign in to comment.