struct

TermBuf::CapabilityResolver::Result

Inherits Struct < Value < Object

What the four stages settled on, plus what turned up along the way.

Constructors

new(capabilities : Capabilities, input : Bytes, warnings : Array(String), name : String | Nil, probed : Bool, quirks : Quirk)
Source

Instance methods

capabilities
clone
Source
copy_with(capabilities _capabilities = @capabilities, input _input = @input, warnings _warnings = @warnings, name _name = @name, probed _probed = @probed, quirks _quirks = @quirks)
Source
input

Keystrokes that arrived while probing, to be handed to the decoder rather than dropped.

name

What the terminal called itself, when it was asked and answered.

probed

Whether the terminal answered anything at all.

quirks

What this terminal is known to get wrong. See Quirk.

warnings

Problems worth telling the application about. These never go to stderr: the screen is about to be taken over, and writing to it would corrupt the display.