libtmux Reference MCP Search
On this page

tmuxtest.Screen

View as Markdown

Module
tmuxtest
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/tmuxtest/screen.go
Screen ( ctx : context.Context , t : testing.TB , pane : tmux.Pane ) []string
function [source]
function [source]
Screen

Screen returns the pane's visible lines, top to bottom, with tmux's trailing blank lines removed.

Scrolled-out output is excluded. Use tmux.Pane.Capture with tmux.CaptureBoundary to read scrollback.

Read failures call testing.TB.Fatal.

0 declared, 0 inherited

Esc

Type to search.