Skip to content
English

PrettyPrint

Feather provides an enhanced print functionality to the default Lua.

Features

  • Table printing support
  • ANSI Color and text formatting support

Setup

lua
CreateThread(function()
    --Use print as you normally would.
    FeatherCore.Print('%{bold} %{red}TEST', {
        hello = "world"
    })

    -- Print Output: TEST, { "hello" = "world"}
end)
CreateThread(function()
    --Use print as you normally would.
    FeatherCore.Print('%{bold} %{red}TEST', {
        hello = "world"
    })

    -- Print Output: TEST, { "hello" = "world"}
end)

Colors

Colors and backgrounds can be used usilizing the %{attribute} format

TypeformatDescription
Text Format%Make Text Font weight heavier
Text Color%Set back to default color
Text Color%
Text Color%
Text Color%
Text Color%
Text Color%{magenta} or %
Text Color%
Text Color%{gray} or %
Text Color%{lightgray} or %
Text Color%
Text Color%
Text Color%
Text Color%
Text Color%
Text Color%
Background Color%
Background Color%
Background Color%
Background Color%
Background Color%
Background Color%
Background Color%{highlight gray} or %
Background Color%{highlight lightgray} or %
Background Color%
Background Color%
Background Color%
Background Color%
Background Color%
Background Color%

Example Usage:

lua
print('%{blue}moon over the rainbow')
print('%{blue}moon over the rainbow')

image