resolve_text_color_mode_terminal Function

public function resolve_text_color_mode_terminal(mode) result(resolved)

Resolve the color mode for interactive terminal output. Explicit modes are honored; 'auto' is resolved from the environment and a stdout TTY probe.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: mode

Return Value character(len=:), allocatable