4edc3ddd5b
The poll-based event loop (rustix::event::poll with 200ms timeout) broke terminal size detection on Redox. When tui.size() returned (0,0) via unwrap_or_default() after a failed dup(1,"winsize"), the size-change check would clear the screen and render nothing. Ratatui's draw() already calls autoresize() on every frame, which queries backend.size() and resizes buffers automatically. The manual size check and poll-based wake-up were redundant and harmful. Reverted to the original blocking-read approach that worked on Redox: stdin.lock().events_and_raw().next() → process key → render() Resize is detected on the next keypress via ratatui's built-in autoresize.