enum TermBuf::ResponseScanner::Kind

Overview

What a chunk of bytes looks like, which is all that can be told from the bytes alone. Whether an escape sequence is a reply the application asked for or an arrow key someone pressed is not visible here: both are Sequence, and ResponseRegistry is what tells them apart.

Defined in:

termbuf/caps/response_scanner.cr

Enum Members

Sequence = 0

A complete escape sequence.

Text = 1

Ordinary characters.

Instance Method Summary

Instance Method Detail

def sequence? #

Returns true if this enum value equals Sequence


[View source]
def text? #

Returns true if this enum value equals Text


[View source]