text_frame_line Function

public function text_frame_line(width, glyphs, is_top) result(line)

Build the top or bottom frame border for the given charset. In ASCII mode this reproduces the historical '+' // '-'*width // '+' border.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: width
type(text_charset_t), intent(in) :: glyphs
logical, intent(in) :: is_top

Return Value character(len=:), allocatable