enum Athena::Console::Formatter::Mode

Overview

TODO Remove this type in favor in the stdlib's version when/if https://github.com/crystal-lang/crystal/pull/7690 is merged.

Defined in:

formatter/mode.cr

Enum Members

Bold = 1

Makes the text bold.

Dim = 2

Dims the text color.

Underline = 4

Underlines the text.

Blink = 8

Makes the text blink slowly.

Reverse = 16

Swaps the foreground and background colors of the text.

Hidden = 32

Makes the text invisible.

Instance Method Summary

Instance Method Detail

def blink? #

[View source]
def bold? #

[View source]
def dim? #

[View source]
def hidden? #

[View source]
def none? #

[View source]
def reverse? #

[View source]
def underline? #

[View source]