Server.load_buffer
Load a file into a paste buffer via $ tmux load-buffer.
Source and package
- Qualified name
-
libtmux.Server .load _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>>> path = pathlib.Path(request.config.rootdir) / '..' / 'tmp_load.txt'>>> _ = path.write_text('loaded')>>> server.load_buffer(str(path), buffer_name='loaded_buf')tmux command
load-bufferIn other ports Fill a paste buffer from 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