Skip to content

Terminal interface to find, download, and stream movies, TV shows, and live TV using local media players.

fix(tui): replace terminal.clear with direct backend clear to eliminate cursor read timeout

Samir Hossainsf580d0fdbbec
diff --git a/src/tui/app/run.rs b/src/tui/app/run.rs
index 0cf4e6e..3176b4b 100644
--- a/src/tui/app/run.rs
+++ b/src/tui/app/run.rs
@@ -65,7 +65,8 @@ impl App {
loop {
if self.state.clear_terminal_before_draw {
- terminal.clear()?;
+ terminal.backend_mut().clear()?;
+ terminal.current_buffer_mut().reset();
self.state.clear_terminal_before_draw = false;
self.state.dirty = true;
}