Core Library0.xAPI reference

Choose documentation 1

pr-173

Current version

pr-173
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

Pane.send_text/4

Sends 0..995 literal bytes to an exact pane, without interpreting key names.

Source and package
Qualified name
LibTmux.Pane.send_text/4
Module
LibTmux
Declared in
Pane
Package
libtmux
Source
lib/libtmux/entities.ex
send_text(connection, ref, bytes, options \\ []) @spec send_text( LibTmux.Action.connection(), LibTmux.Ref.t(), binary(), [LibTmux.Action.option()] ) :: {:ok, LibTmux.Action.result(:ok)} | {:error, LibTmux.Action.error()}

Description

Hex-key encoding preserves NUL and invalid UTF-8. Empty input sends nothing. Both transports use the same limit, fitting tmux 3.8's command argument ceiling. Larger inputs fail validation before I/O; calls are never split. The terminal's line discipline, active mode and application still determine how input is handled; acknowledgement does not prove program consumption. Options and outcomes follow LibTmux.Action. For named keys use send_keys/4.

alias LibTmux.Pane

Pane.send_text(control, pane_ref, "printf 'hello'")

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.Pane.send_text/4.

Esc
Search in

Type to search.

Reference previewOpen reference