erased Function

public function erased(text) result(textout)

Arguments

Type IntentOptional Attributes Name
character(len=*) :: text

Return Value character(len=8)


Source Code

  function erased(text) result(textout)
    character(len=*) :: text
    character(len=8+len(text)) :: textout
    textout=achar(27)//"[9m"//text//achar(27)//"[0m"
  end function erased