core-agent-ide/codex-rs/tui/src/tui
Josh McKinney aec58ac29b
feat(tui): pace catch-up stream chunking with hysteresis (#10461)
## Summary
- preserve baseline streaming behavior (smooth mode still commits one
line per 50ms tick)
- extract adaptive chunking policy and commit-tick orchestration from
ChatWidget into `streaming/chunking.rs` and `streaming/commit_tick.rs`
- add hysteresis-based catch-up behavior with bounded batch draining to
reduce queue lag without bursty single-frame jumps
- document policy behavior, tuning guidance, and debug flow in rustdoc +
docs

## Testing
- just fmt
- cargo test -p codex-tui
2026-02-03 15:01:51 -08:00
..
event_stream.rs refactor TUI event loop to enable dropping + recreating crossterm event stream (#7961) 2025-12-16 01:14:03 -08:00
frame_rate_limiter.rs feat(tui): pace catch-up stream chunking with hysteresis (#10461) 2026-02-03 15:01:51 -08:00
frame_requester.rs feat(tui): pace catch-up stream chunking with hysteresis (#10461) 2026-02-03 15:01:51 -08:00
job_control.rs refactor(tui): job-control for Ctrl-Z handling (#6477) 2025-11-10 23:13:43 +00:00