Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

function libtmux-go latest

Screen

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

Source and package
Qualified name
tmuxtest.Screen
Package
tmuxtest
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/tmuxtest/screen.go
func Screen( ctx context.Context, t testing.TB, pane tmux.Pane, ) []string

Description#

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

Read failures call testing.TB.Fatal.

Parameters
Esc

Type to search.

Reference previewOpen reference