A modern terminal with a built-in multiplexer: close it and your sessions keep running. Run shells and tons of AI agents across your machines, then pick them up from desktop, browser, TUI and more. Written in Rust with no UI framework: interface drawn straight on the GPU. No Electron, GPUI or webview.
Rust agentagent-orchestrationaiai-agentsclaude-codecodexcoding-agentlinuxmacosmultiplayermultiplexerrustterminalterminal-emulatorterminal-multiplexertmuxtuiweztermwindows
pane:get_dimensions()
{{since('20201031-154415-9614e117')}}
Returns a lua representation of the RenderableDimensions struct
that identifies the dimensions and position of the viewport as
well as the scrollback for the pane.
It has the following fields:
colsthe number of columnsviewport_rowsthe number of vertical cells in the visible portion of the windowscrollback_rowsthe total number of lines in the scrollback and viewportphysical_topthe top of the physical non-scrollback screen expressed as a stable index.scrollback_topthe top of the scrollback; the earliest row remembered by wezterm.