enum

Phosphor::RenderMode

Inherits Enum < Comparable < Value < Object

Determines how the app occupies the terminal.

Higher layers (Renderer, View, widgets) are mode-agnostic — they render relative to the Frame that Terminal#frame exposes regardless of which mode is active.

Constants

Fullscreen = 0

Takes over the full terminal via the alternate screen buffer. The original terminal contents are restored on exit. This is the default.

Inline = 1

Renders a fixed-height block in normal terminal flow, below the current shell prompt. Shell history above stays intact; the final rendered state remains in scrollback on exit.

Instance methods

fullscreen?

Returns true if this enum value equals Fullscreen

Source
inline?

Returns true if this enum value equals Inline

Source