struct TextUi::Format

Defined in:

textui/format.cr

Constant Summary

BOLD = 256
REVERSE = 1024
UNDERLINE = 512

Constructors

Instance Method Summary

Constructor Detail

def self.new(foreground : Color = Color::White, background : Color = Color::Black, bold = false, underline = false, reverse = false) #

[View source]

Instance Method Detail

def background : UInt16 #

[View source]
def bold #

[View source]
def foreground : UInt16 #

[View source]
def reverse #

[View source]
def underline #

[View source]