Core Library0.xAPI Reference

Choose documentation 1

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-raku latest

Buffers.put

Load binary stdin into the named server buffer.

Source and package
Qualified name
LibTmux::Configuration::Buffers.put
Module
LibTmux::Configuration
Declared in
Buffers
Package
LibTmux
Source
lib/LibTmux/Configuration.rakumod
Other languages
Perlmethod Erlang PowerShell Julia Elixir Haskell Common Lisp PythonRubyLuaTypeScriptRustGo Java C#C++Swift Kotlin Scala OCaml F# Clojure
method put(Str:D $name, Blob:D $bytes --> Result:D)

Description#

Load binary stdin into the named server buffer.

Parameters

tmux command#

The tmux commands behind put.

tmux C API#

The C declarations in tmux that implement these commands.

In other ports#

Put text into a paste buffer

Equivalents of Put text into a paste buffer in other languages
Language Equivalent
Python libtmux.Server.set_buffer
Ruby LibTmux::Server#write_buffer
Lua libtmux.Server:set_buffer
Haskell No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
TypeScript server.Server.setBuffer
Rust server.Server.set_buffer
Go tmux.Server.SetBuffer
Java no equivalent on Server
C# LibTmux.TmuxBuffers.SetAsync
C++ libtmux::Server::set_buffer
Swift Server.setBuffer(_:named:)
OCaml No direct public OCaml equivalent is recorded for this operation.
Perl LibTmux::Server::set_buffer Explicit Server operation. Captured entities remain local observations; use a new snapshot to observe changes.

No equivalent is recorded in PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.

Esc

Type to search.

Reference previewOpen reference