enum Tput::Mouse::Encoding

Overview

One of the on-the-wire report encodings, for generating reports with Mouse.encode — the inverse of the parsers in Tput::Input. A terminal emulator hosting a child application selects one of these via DECSET 1005/1006/1015 and must re-encode normalized events back into it.

Defined in:

tput/mouse.cr

Enum Members

Normal = 0
Utf8 = 1
Sgr = 2
Urxvt = 3

Instance Method Summary

Instance Method Detail

def normal? #

Returns true if this enum value equals Normal


[View source]
def sgr? #

Returns true if this enum value equals Sgr


[View source]
def urxvt? #

Returns true if this enum value equals Urxvt


[View source]
def utf8? #

Returns true if this enum value equals Utf8


[View source]