docs(tui): document replay clear lifecycle

This commit is contained in:
Felipe Coury
2026-06-05 14:02:21 -03:00
parent a4da2232df
commit e960a1665b
+6
View File
@@ -1,3 +1,9 @@
//! Coordinates clearing and replaying terminal history inside one synchronized draw.
//!
//! A requested clear remains pending until buffered history has been written successfully. Once
//! replay is committed, later draw or terminal-flush failures must not retry the clear because the
//! buffered lines have already been consumed.
use std::io::Result;
use std::io::Write;