Library globals

Variable globals . string . color_enabled

View source

Add ANSI color codes to string, if terminal-ansi-colors are enabled and
stderr prints to a terminal. Example:

print(string.color("31;1", "this is red"));