Minor change

This commit is contained in:
Wojciech Kozlowski 2024-02-13 07:44:20 +01:00
parent 9cf29b99b8
commit 55129ffcfc

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,
},
};