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-erlang

tmux_program:send_text/2

Send up to 2,000 literal input bytes to the live program. The program's terminal settings govern how it reads the bytes. A second input request returns program_input_busy while the first occupies the input slot.

Source and package
Qualified name
tmux_program:send_text/2
Declared in
tmux_program
Package
libtmux_erlang
Source
apps/libtmux_erlang/src/tmux_program.erl
send_text(Program, Text) -spec send_text(t(), binary()) -> {ok, #{bytes := non_neg_integer()}} | {error, map()}.
Parameters

Recorded calls

source calls
No call edges in the Erlang model.

The Erlang 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 tmux_program:send_text/2.

Esc
Search in

Type to search.

Reference previewOpen reference