method libtmux-dotnet latest
TmuxBuffers.SetAsync
Puts text into a buffer.
Source and package
- Module
- LibTmux
- Declared in
- TmuxBuffers
- Package
- LibTmux
- Source
- src/LibTmux/Buffers/TmuxBuffers.cs
- Other languages
- PythonRubyLuaTypeScriptRustGo Java C++Swift Kotlin Scala F#
-
- Parameters
-
-
data ( string ) – The text to store.
-
name ( string? ) – The buffer name, or null for a new one.
-
append ( bool ) – Whether the text joins what is already there.
-
cancellationToken ( Cancellation
Token ) – Cancels the tmux command.
-
- Returns
-
A task that completes once tmux has stored it.
- Raises
-
-
Argument
Null –Exception datais null.
-
tmux command
set-bufferIn other ports Put text into a paste buffer
- Python
libtmux.Server.set_buffer - Ruby
LibTmux::Server#write_buffer - Lua
libtmux.Server:set_buffer - TypeScript
server.Server.setBuffer - Rust
server.Server.set_buffer - Go
tmux.Server.SetBuffer - Java no equivalent on
Server - C++
libtmux::Server::set_buffer - Swift
Server.setBuffer(_:named:) - Kotlin No source-verified Kotlin equivalent is recorded for this operation.
- Scala No source-verified Scala equivalent is recorded for this operation.
- F# No source-verified F# equivalent is recorded for this operation.