Return formatted output of element.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(element_object), | intent(in) | :: | self | element. |
Formatted output.
pure function output(self)
!< Return formatted output of element.
class(element_object), intent(in) :: self !< element.
character(len=:, kind=UCS4), allocatable :: output !< Formatted output.
output = colorize(self%string, color_fg=self%color_fg, color_bg=self%color_bg, style=self%style)
endfunction output