tmuxtmuxOptions, hooks and formats

Choose documentation 1

latest

tmux catalog version

Latest (3.7c) 3.7c 3.2a
English

option tmux3.7c

get-clipboard

Controls the behaviour when an application requests the clipboard from tmux.

Scope
server
Type
Choice
Default
buffer
Values
off buffer request both
Set
set-option -s get-clipboard value
Read
show-options -s get-clipboard

Description#

Controls the behaviour when an application requests the clipboard from tmux.

If off, the request is ignored; if buffer, tmux responds with the newest paste buffer; request causes tmux to request the clipboard from the most recently used client (if possible) and send the reply (if any) back to the application; both is the same as request but also creates a paste buffer.

See also the set-clipboard option.

Releases#

  • tmux 3.7c : present
  • tmux 3.2a : not present

Source#

Defined in
options-table.c:414
C source reference
options_table
CLI Manual
Original manual entry

Used by#

Library documentation that names this option.

Python
libtmux.Server.refresh_client
Rust
options.generated.GET_CLIPBOARD
Go
tmux.GetClipboard, tmux.Server.SetGetClipboard, tmux.ServerOptionValues.GetClipboard
Esc

Type to search.

Reference preview Open reference