🔢
Simple API
One function — colorize(string, color_fg, color_bg, style) — covers everything.
A KISS pure Fortran library for easy colorizing and stylizing strings.
use face
character(len=:), allocatable :: error_message
error_message = colorize('error:', color_fg='red', style='underline_on')//' file not found!'
print '(A)', error_message
print '(A)', colorize('suggestion: check your configuration', color_fg='blue')
call colors_samples ! print samples of all colors available
call styles_samples ! print samples of all styles availableContributions are welcome — see the Contributing page.
FACE is distributed under a multi-licensing system:
Anyone interested in using, developing, or contributing to FACE is welcome — pick the license that best fits your needs.