module Term::Color

Extended Modules

Defined in:

color/mode.cr
color/support.cr
color/version.cr
term-color.cr

Constant Summary

VERSION = "0.1.0"

Class Method Summary

Instance Method Summary

Class Method Detail

def self.output : IO::FileDescriptor #

[View source]
def self.output=(output : IO::FileDescriptor) #

[View source]
def self.verbose : Bool #

[View source]
def self.verbose=(verbose : Bool) #

[View source]

Instance Method Detail

def command?(cmd, args = nil) #

Check if command can be run


[View source]
def disabled? #

[View source]
def mode #

[View source]
def support? #

Check if this terminal supports colors


[View source]
def tty? #

Check if output is linked to a terminal


[View source]
def windows? #

Check if running on windows. Just false for now.


[View source]