to_string Interface

public interface to_string

Contents


Functions

private pure module function to_string_ansi_code(code) result(str)

Transform a color code into an actual ANSI escape sequence

Arguments

TypeIntentOptionalAttributesName
type(ansi_code), intent(in) :: code

Color code to be used

Return Value character(len=:),allocatable

ANSI escape sequence representing the color code