Add error message when unable to get terminal size

This commit is contained in:
mo8it
2024-09-05 17:37:34 +02:00
parent dcad002057
commit bcc2a136c8
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ mod scroll_state;
mod state;
fn handle_list(app_state: &mut AppState, stdout: &mut StdoutLock) -> Result<()> {
let mut list_state = ListState::new(app_state, stdout)?;
let mut list_state = ListState::build(app_state, stdout)?;
let mut is_searching = false;
loop {