Server.loadBuffer(from:named:)
- Declared in
- Server
- Package
- libtmux-swift
- Source
- Sources/LibTmux/Buffers.swift
- Other languages
- Python Ruby Lua TypeScript Rust Go Java .NETC++
-
Fills a buffer from a file, letting tmux read it.
setBuffer(_:named:)carries the text as an argument, which caps it at whatever the platform allows in an argument vector and — overconnected(attachingTo:_:)— forbids a newline outright, because a connection sends a command *line*. A path has neither problem: it is short, and tmux opens the file itself. This is the way to put many lines into a buffer from a connected server.The path is resolved by the tmux server, which for a socket on this machine is this machine.
- Raises
In other ports Fill a paste buffer from a file
- Python
libtmux.Server.load_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.loadBuffer - Rust no equivalent on
Server - Go
tmux.Server.LoadBuffer - Java no equivalent on
Server - .NET
LibTmux.TmuxBuffers.LoadAsync - C++
libtmux::Server::load_buffer
0 declared, 0 inherited