Pane.pasteBuffer
Paste a named buffer into this pane, as if it were typed.
Source and package
-
Description#
The program running in the pane sees ordinary input, so a shell runs what arrives.
Server.loadBuffer()fills the buffer beforehand.Examples#
await pane.pasteBuffer("greeting");
tmux command#
The tmux commands behind pasteBuffer.
tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Paste a buffer into a pane
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Lua | libtmux |
| Rust | pane |
| Go | tmux |
| Java | io |
| C# | Lib |
| C++ | libtmux:: |
| Swift | Server |
No equivalent is recorded in Ruby, PowerShell, Julia, Elixir, Kotlin, Scala or F#.