tmuxtmuxOptions, hooks and formats

Choose documentation 1

latest

tmux catalog version

Latest (3.7c) 3.7c 3.2a
English

option tmux3.7c

scroll-on-clear

When the entire screen is cleared and this option is on, scroll the contents of the screen into history before clearing it.

Scope
window, pane
Type
Flag (on or off)
Default
on
Set
set-option -w scroll-on-clear value
Read
show-options -w scroll-on-clear

Description#

When the entire screen is cleared and this option is on, scroll the contents of the screen into history before clearing it.

Releases#

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

Source#

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

Used by#

Library documentation that names this option.

Rust
options.generated.SCROLL_ON_CLEAR
Go
tmux.GlobalWindowScope.SetScrollOnClear, tmux.Pane.SetScrollOnClear, tmux.PaneOptionValues.ScrollOnClear, tmux.Window.SetScrollOnClear, tmux.WindowOptionValues.ScrollOnClear
Esc

Type to search.

Reference preview Open reference