output .= str_replace(LF,CR.LF,$this->frame->content); } public function strlenv($text):int { return strlen($text ? preg_replace('/'.ESC.'\[[0-9;?]+[a-zA-Z]/','',$text) : $text); } }