tmuxtmuxCLI manual

Choose documentation 1

3.7c

tmux manual version

Latest (3.7c) 3.7c 3.2a
English

tmux list-buffers

command tmux 3.7c

List the global buffers.

Syntax

tmux list-buffers [-F format] [-f filter] [-O order]

Alias: lsb.

Behavior

List the global buffers. -F specifies the format of each line and -f a filter. Only buffers for which the filter is true are shown. See the FORMATS section. -O specifies the sort order: one of ‘name’, ‘size’, or ‘creation’ (time). -r reverses the sort order.

C implementation

Internal declarations in tmux 3.7c:

Use from a library

These methods send list-buffers. Each describes its own defaults, errors and execution model.

Library methods that send tmux list-buffers, by scope
Language Methods
Python Server.list_buffers
Ruby Async::Server#list_buffers LibTmux::Server#list_buffers
Lua Server:snapshot
Erlang list/1
Common Lisp client.list-buffers
TypeScript Server.listBuffers
Rust Server.buffer_names
Go Server.ListBuffers
Java Buffers.list
Kotlin Buffers.list
Scala Buffers.list
C# TmuxBuffers.GetAllAsync TmuxBuffers.GetLinesAsync
C++ Server::buffers
Swift Server.buffers()
Raku Buffers.list ClientRef.inspect Connection.query buffer query or full graph Connection.query-async buffer query or full graph Connection.query-panes relationship predicates require a full graph Connection.snapshot Connection.snapshot-async PaneRef.inspect Server.query buffer query or full graph Server.query-async buffer query or full graph Server.query-panes relationship predicates require a full graph Server.query-sessions relationship predicates require a full graph Server.query-window-links relationship predicates require a full graph Server.query-windows relationship predicates require a full graph Server.snapshot Server.snapshot-async SessionRef.inspect WindowRef.inspect

No method in PowerShell, Julia, Elixir, Haskell, Clojure, F#, OCaml, or Perl sends this command itself.

tmux sources and license

Syntax comes from tmux 3.7c list-commands. See the global options for sockets and configuration, and command syntax and targets.

Behavior is taken from the tmux 3.7c manual.

Command declaration

Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>

Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER
IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Esc

Type to search.

Reference previewOpen reference