fix: use stringValue

resolves #136
This commit is contained in:
Jan De Dobbeleer 2020-11-10 18:38:24 +01:00 committed by Jan De Dobbeleer
parent 72f6b2761c
commit 2844eed0f5

View file

@ -91,7 +91,7 @@ func (e *engine) renderBlockSegments(block *Block) string {
}
e.activeSegment = segment
e.endPowerline()
text := segment.string()
text := segment.stringValue
e.activeSegment.Background = segment.props.background
e.activeSegment.Foreground = segment.props.foreground
e.renderSegmentText(text)