Tput::Features
Inherits Crystallabs::Helpers::Boolean / Crystallabs::Helpers::Logging / JSON::Serializable / Reference / Object
Terminal features auto-detection.
Involved in a terminal are the terminal emulator in use (Tput::Emulator) and
the term type initialized/running in it (ENV["TERM"] usually).
After those two variables are known, the features autodetection is ran to figure out the final details of terminal's behavior.
Constants
Log = ::Log.for((self.name.gsub("::", '.')).underscore)
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
acsc
Sourceacscr
Sourcedetect_magic_cookie
Sourcedetect_padding
Sourcedetect_setbuf
Sourceinspect(io)
Sourcemagic_cookie?
Sourcepadding?
Sourceparse_acs
Parses terminal's ACS characters and returns ASCII->ACS and ACS->ASCII mappings.
setbuf?
Source