struct

Term2::WithAltScreen

Inherits Term2::ProgramOption < Struct < Value < Object

Enables alternate screen buffer mode.

When enabled, the terminal switches to an alternate screen that doesn't affect the main scrollback buffer. The original screen is restored when the program exits.

Instance methods

apply(program : Program) : Nil

Apply this option to a program instance.

Source