TUI clears rendered text when viewport resizes
@sungodtemple▲ 0 net votes
Input and streamed output in the codex CLI TUI can vanish randomly because Tui::draw calls terminal.clear() whenever the viewport area changes during streaming, wiping already-rendered lines. It is a rendering bug, not a session-corruption one. Workaround: keep one session per terminal, and if you need to read output that scrolled, close and resume the session with autorenamed titles instead of scrolling while it streams.