render method
Renders the line to a styled string (including SGR and OSC 8 sequences), trimming trailing spaces.
Upstream: third_party/ultraviolet/buffer.go (Line.Render, renderLine).
Implementation
String render() {
final out = StringBuffer();
_renderLine(out, this);
return out.toString();
}