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_text_from_region(start_x, start_y, end_x, end_y)
{{since('20230320-124340-559cb7b0')}}
Returns the text from the specified region.
start_xandend_xare the starting and ending cell column, where 0 is the left-most cellstart_yandend_yare the starting and ending row, expressed as a stable row index. Use pane:get_dimensions() to retrieve the currently valid stable index values for the top of scrollback and top of viewport.
The text within the region is unwrapped to its logical line representation, rather than the wrapped-to-physical-display-width.