- Module
- tmux
- Declared in
- Pane
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/pane_input.go
- Other languages
- PythonRubyLuaTypeScriptRust Java .NETC++Swift
- SendKeys ( ctx : context.Context , request : SendKeysRequest ) error
-
SendKeys invokes tmux send-keys with the receiver's exact linked session-window-pane target. This is tmux key input, not shell execution: Literal only changes tmux key parsing, and any delivered text may still be interpreted by the pane's application. KeyName routes through a client's key table instead of delivering to the pane.
KeyName and TargetClient require tmux 3.4 and follow
UnsupportedPolicy.A completed nonzero exit or stderr, from either the Command send or the separate Enter, becomes a redacted
CommandError: Command may carry a caller's secret, so only tmux's exit code is retained. Transport and context errors are delivery-ambiguous, including between Command and Enter.In other ports Send keystrokes to a pane
- Python
libtmux.Pane.send_keys - Ruby
LibTmux::Pane#send_keys - Lua
libtmux.Pane:send_keys - TypeScript
pane.Pane.sendKeys - Rust
pane.Pane.send_keys - Java no direct equivalent;
Pane.pastewrites a buffer instead - .NET
LibTmux.Pane.SendKeysAsync - C++
libtmux::Pane::send_text - Swift
Server.sendKeys(_:to:literally:)
- Python
0 declared, 0 inherited