Server.send_text
send_text(pane => Pane|pane_id, text => string|bytes, enter => boolean?).
Source and package
- Qualified name
-
LibTmux:: Server:: send _text - Module
- LibTmux
- Declared in
Server- Package
- LibTmux
- Source
- packages/core/lib/LibTmux/Server.pm
-
Description#
Send literal text/bytes to a
LibTmux::Pane, then optionally send Enter. Empty text is permitted. Acceptance does not prove application completion. Use an application-specific observable handshake before relying on output;"capture_pane"reads observed terminal content.Returns
undefafter command acceptance. Performs I/O; failures propagate throughLibTmux::X. Captured objects are not modified.$server->send_text(pane => $pane, text => 'hello', enter => true);Methods#
tmux command#
The tmux commands behind send_text.
display-message (daemon identity or target preflight) send-keys tmux C API#
The C declarations in tmux that implement these commands.