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( Lib
Tmux (), Lib.Action .connection Tmux (), binary(), [Lib.Ref .t Tmux ()] ) :: {:ok, LibTmux.Action.result(:ok)} | {:error, Lib.Action .option Tmux ()}.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 usesend_keys/4.alias LibTmux.Pane
Pane.send_text(control, pane_ref, "printf 'hello'")
- Parameters
-
-
ref(LibTmux ()) #.Ref .t -
options([LibTmux ()]) #.Action .option