strip_ansi_escapes Function

public function strip_ansi_escapes(line) result(out)

Remove ANSI CSI escape sequences (ESC [ ... final-byte) from a line.

Arguments

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

Return Value character(len=:), allocatable