struct TermBuf::CapabilityResolver::Result

Overview

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

Defined in:

termbuf/caps/resolver.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(capabilities : Capabilities, input : Bytes, warnings : Array(String), name : String | Nil, probed : Bool) #

[View source]

Instance Method Detail

def capabilities : Capabilities #

def clone #

[View source]
def copy_with(capabilities _capabilities = @capabilities, input _input = @input, warnings _warnings = @warnings, name _name = @name, probed _probed = @probed) #

[View source]
def input : Bytes #

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


def name : String | Nil #

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


def probed : Bool #

Whether the terminal answered anything at all.


def warnings : Array(String) #

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.