enum Tput::ColorScheme

Overview

The terminal's light/dark color scheme, as reported by DEC mode 2031 notifications or #request_color_scheme.

Defined in:

tput/input.cr

Enum Members

Dark = 0
Light = 1

Instance Method Summary

Instance Method Detail

def dark? #

Returns true if this enum value equals Dark


[View source]
def light? #

Returns true if this enum value equals Light


[View source]