Segments
Term.Segments.Segment
Term.Segments.Segment
Term.Segments.Segment
Base.:*
Term.Segments.get_string_types
Term.Segments.Segment
— TypeSegment
stores one piece of text with all the styles applied to it.
Term.Segments.Segment
— MethodSegment(text::Union{Segment, AbstractString}, markup::AbstractString)
Construct a Segment out of a plain string and a markup string with style info
Term.Segments.Segment
— MethodSegment(text::AbstractString)
Construct a Segment out of a string with markup.
Base.:*
— Methodconcatenate strings and segments
Term.Segments.get_string_types
— Methodget_string_types(segments_vectors...)
Given a number of Segment[]
vectors, get the AbstractString
like type they're using. If they are all using normal String
or Substring
go with that, but if one of them is using a different string type, use it.