tmux_pane:send_keys/2
Send at most 256 validated key tokens. Named keys, single UTF-8 characters, function keys and control-letter tuples are supported. Performs I/O; terminal modes determine the resulting input bytes. Use send_text/2 for arbitrary bytes.
Source and package
- Qualified name
-
tmux_pane: send _keys/2 - Declared in
tmux_pane- Package
- libtmux_erlang
- Source
- apps/libtmux_erlang/src/tmux_pane.erl
- Other languages
- Perlmethod PowerShell Julia Elixir Haskell Common LispPythonRubyLuaTypeScriptRustGo Java C#C++SwiftKotlinScalaOCaml F# Clojure
- send_keys(Pane, Keys) -spec send_keys(tmux
_model: (), [key()]) -> {ok, map()} | {error, map()}.pane
tmux command#
The tmux commands behind send_keys/2.
tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Send keystrokes to a pane
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Ruby | Lib |
| Lua | libtmux |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| Common Lisp | libtmux: |
| TypeScript | pane |
| Rust | pane |
| Go | tmux |
| Java | no direct equivalent; Pane.paste writes a buffer instead |
| Clojure | libtmux |
| Kotlin | io |
| Scala | io |
| C# | Lib |
| C++ | libtmux:: |
| Swift | Server |
| OCaml | Libtmux |
| Perl | Lib Explicit Server operation. Captured entities remain local observations; use a new snapshot to observe changes. |
No equivalent is recorded in PowerShell, Julia, Elixir or F#.