Copyright © (C) 2015, Project-FiFo UG
Authors: Heinz Nikolaus Gies <heinz@project-fifo.net>.
format/1 | |
format/2 | Formates a coloured string Arguments are the same as for print/2, just returns a string as io_lib:format/2 does instead of printing it to stdout. |
print/1 | |
print/2 | Prints a coloured string. |
format(Fmt) -> any()
format(Fmt, Args) -> any()
Formates a coloured string Arguments are the same as for print/2, just returns a string as io_lib:format/2 does instead of printing it to stdout.
print(Fmt) -> any()
print(Fmt, Args) -> any()
Prints a coloured string. Effectively the same as io:format just takes the additional color console text colour can be set by ~!**<colour>**. ~#**<colour>** will change the background. Both ~# only work with lowercase colours. An uppercase letersindicate bold colours. A '_' can be added after the ~! to make the text underlined.
The colour can be one of:
! - resets the output ^ - makes text bold x,X - black r,R - red g,G - greeen y,Y - yellow b,B - blue m,M - magenta c,C - cyan w,W - white
The function will disable colours on non x term termialsGenerated by EDoc, May 1 2024, 06:06:52.