Skip to content
Opensource internals
  • Posts

Tty

tmux Batches Terminal Output: One Write() Per Event Loop Iteration

Sep 5, 2026 10 min read Jay Hubbert

Every byte tmux sends to a terminal goes through one function that appends to a per-client buffer, and that buffer is flushed with a single write() per event loop iteration.

TmuxPerformanceInternalsTty

Read more →

© 2026 Jay Hubbert · Built with Hugo 0.168.0

RSS ·