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_keys/4

Sends 1..128 named keys to an exact pane; unknown names are rejected.

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

Description

Supports Enter, Space, Tab, BTab, BSpace, Escape, arrows, Home, End, PageUp, PageDown, Insert, Delete and F1..F12. Distinct C-, M- and S- modifiers may prefix arrows, Home/End, PageUp/PageDown, Insert/Delete and F1..F12. Also accepts C-a..C-z, conventional ASCII control punctuation, and M- plus one printable ASCII character. Unsupported combinations such as S-a and C-Enter fail before admission; tmux could otherwise type their spelling as text. Options and outcomes follow LibTmux.Action.

alias LibTmux.Pane

Pane.send_keys(control, pane_ref, ["Enter", "C-c"])

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_keys/4.

Esc
Search in

Type to search.

Reference previewOpen reference