Core LibraryalphaAPI Reference

Choose documentation 1

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

function libtmux-elixir latest

Pane.send_text/4

Sends 0..1020 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. 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'")

Esc

Type to search.

Reference preview Open reference