Skip to content

enum Athena::Console::Formatter::Mode #

Todo

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

Members#

Bold = 1 #

Makes the text bold.

Dim = 2 #

Dims the text color.

Underline = 4 #

Underlines the text.

Makes the text blink slowly.

Reverse = 16 #

Swaps the foreground and background colors of the text.

Hidden = 32 #

Makes the text invisible.

Methods#

#blink? #

View source

#bold? #

View source

#dim? #

View source

#hidden? #

View source

#none? #

View source

#reverse? #

View source

#underline? #

View source