Actually query terminals and fix terminals if we fail initialization (#103)

This commit is contained in:
June
2025-09-06 12:02:04 -05:00
committed by GitHub
parent 690489016c
commit 440515a3db
2 changed files with 58 additions and 26 deletions
-2
View File
@@ -427,8 +427,6 @@ impl Tui {
}
}
log::debug!("tui got page {page_num} ready with img {img:#?}");
// We always just set this here because we handle reloading in the `set_n_pages` function.
// If the document was reloaded, then It'll have the `set_n_pages` called to set the new
// number of pages, so the vec will already be cleared