feat: migrate to ratatui (#26)

Co-authored-by: Ben PHL <benphawke@gmail.com>
This commit is contained in:
EdJoPaTo
2023-09-04 12:44:30 +02:00
committed by GitHub
parent 100a8166a3
commit 3f30effd19
4 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -46,11 +46,11 @@ fn internal<'a>(
}
#[cfg(test)]
fn get_naive_string_from_text(text: &tui::text::Text<'_>) -> String {
fn get_naive_string_from_text(text: &ratatui::text::Text<'_>) -> String {
text.lines
.first()
.unwrap()
.0
.spans
.first()
.unwrap()
.content