Provide search functionality through the TUI #134

Merged
wojtek merged 35 commits from 24---provide-search-functionality-through-the-tui into main 2024-02-18 22:12:42 +01:00
Showing only changes of commit 55129ffcfc - Show all commits

View File

@ -348,7 +348,6 @@ impl<'a, 'b> TrackState<'a, 'b> {
struct Minibuffer<'a> {
paragraphs: Vec<Paragraph<'a>>,
// FIXME: make this an option
columns: u16,
}
@ -388,11 +387,11 @@ impl Minibuffer<'_> {
paragraphs: vec![Paragraph::new(
"Press any key to dismiss the error message...",
)],
columns: 1,
columns: 0,
},
AppState::Critical(_) => Minibuffer {
paragraphs: vec![Paragraph::new("Press ctrl+c to terminate the program...")],
columns: 1,
columns: 0,
},
};