Core Library0.xAPI reference

Choose documentation 1

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.

MoreLess about this notice

function libtmux-elixir

Program.screen/2

Reads the current rendered screen of this application pane.

Source and package
Qualified name
LibTmux.Program.screen/2
Module
LibTmux
Declared in
Program
Package
libtmux
Source
lib/libtmux/program.ex
screen(program, timeout \\ 5000) @spec screen(t(), 1..600_000) :: {:ok, %{ screen: binary(), history: %{ retained: non_neg_integer(), discarded: non_neg_integer() } }} | {:error, LibTmux.Error.t()}

Description

The result excludes retained history. Its counters describe how many history rows tmux retains and how many it has discarded.

Parameters

Recorded calls

source calls
No call edges in the Elixir model.

The Elixir reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.Program.screen/2.

Guides

task material

Pages that discuss screen/2.

Esc
Search in

Type to search.

Reference previewOpen reference