Skip to content
Opensource internals
  • Posts

Tmux

tmux Runs Real ptys for Every Pane

Sep 12, 2026 9 min read Jay Hubbert

A pane isn’t a picture of a terminal — it’s a real pty with a real process behind it, in its own session.

TmuxArchitectureInternalsPty

Read more →

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 →

tmux Works Around Terminal Bugs: Believe Nothing, Probe Everything

Aug 30, 2026 10 min read Jay Hubbert

tmux treats terminal capabilities as unverified claims. It layers terminfo, user overrides, named features, runtime probing and a hard-coded table of per-terminal quirks — and…

TmuxTerminalWorkaroundsInternals

Read more →

tmux Redraws Only What Changed: Five Layers of Less Work

Aug 21, 2026 11 min read Jay Hubbert

tmux never redraws ’the screen’ — it redraws the difference.

TmuxPerformanceInternalsRedraw

Read more →

Why tmux Is a Server and Not a Terminal Program

Aug 14, 2026 8 min read Jay Hubbert

tmux is a daemon that owns real ptys plus thin clients that connect over a UNIX socket.

TmuxArchitectureInternalsIpc

Read more →

← Newer Page 2 of 3 Older →

© 2026 Jay Hubbert · Built with Hugo 0.168.0

RSS ·