LibTmux.TmuxBuffers.SaveAsync
- Module
- LibTmux
- Declared in
- TmuxBuffers
- Package
- LibTmux
- Source
- src/LibTmux/Buffers/TmuxBuffers.cs
- Other languages
- Python Ruby Lua TypeScript Rust Go Java C++Swift
- SaveAsync ( path : string , name : string? , append : bool , cancellationToken : CancellationToken ) Task
-
Writes a buffer to a file.
- Parameters
-
-
path ( string ) – The file to write.
-
name ( string? ) – The buffer to write, or null for the most recent.
-
append ( bool ) – Whether the buffer joins what the file already holds.
-
cancellationToken ( CancellationToken ) – Cancels the tmux command.
-
- Returns
-
A task that completes once tmux has written it.
- Raises
-
-
ArgumentException –
pathis blank.
-
In other ports Write a paste buffer to a file
- Python
libtmux.Server.save_buffer - Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua No source-verified Lua equivalent is recorded for this operation.
- TypeScript
server.Server.saveBuffer - Rust no equivalent on
Server - Go
tmux.Server.SaveBuffer - Java no equivalent on
Server - C++
libtmux::Server::save_buffer - Swift
Server.saveBuffer(named:to:)
0 declared, 0 inherited