tmuxtmuxOptions, hooks and formats

Choose documentation 1

3.7c

tmux catalog version

Latest (3.7c) 3.7c 3.2a
English

option tmux3.7c

alternate-screen

This option configures whether programs running inside the pane may use the terminal alternate screen feature, which allows the smcup and rmcupterminfo(5) capabilities.

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

Description

This option configures whether programs running inside the pane may use the terminal alternate screen feature, which allows the smcup and rmcupterminfo(5) capabilities. The alternate screen feature preserves the contents of the window when an interactive application starts and restores it on exit, so that any output visible before the application starts reappears unchanged after it exits.

Releases

Source

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

Used by

Library documentation that names this option.

Raku
LibTmux::Catalogue
Rust
options.generated.ALTERNATE_SCREEN
Go
tmux.GlobalWindowScope.SetAlternateScreen, tmux.Pane.SetAlternateScreen, tmux.PaneOptionValues.AlternateScreen, tmux.Window.SetAlternateScreen, tmux.WindowOptionValues.AlternateScreen
OCaml
Libtmux_unix.Client.capture_text
Esc

Type to search.

Reference previewOpen reference