Server.save_buffer
Save a paste buffer to a file via $ tmux save-buffer.
Source and package
- Qualified name
-
libtmux.Server .save _buffer - Module
- libtmux
- Declared in
- Server
- Package
- libtmux
- Source
- src/libtmux/server.py
- Other languages
- PowerShell Julia Ruby Lua TypeScript Rust Go Java C#C++Swift Kotlin Scala F#
-
Examples#
>>> import pathlib>>> server.set_buffer('save_me')>>> path = pathlib.Path(request.config.rootdir) / '..' / 'tmp_save.txt'>>> server.save_buffer(str(path))tmux command
save-bufferIn other ports Write a paste buffer to a file
- PowerShell No source-verified PowerShell equivalent is recorded for this operation.
- Julia No source-verified Julia equivalent is recorded for this operation.
- Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua No source-verified Lua equivalent is recorded for this operation.
- TypeScript
- Rust no equivalent on
Server - Go
- Java no equivalent on
Server - C#
- C++
- Swift
- 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.
- PowerShell