mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-28 20:39:40 -08:00
fix(debug): render powerline correctly
This commit is contained in:
parent
2fddfa1716
commit
181d906e8a
|
@ -192,11 +192,8 @@ func (b *Block) debug() (int, []*SegmentTiming) {
|
|||
start = time.Now()
|
||||
segment.stringValue = segment.string()
|
||||
segmentTiming.stringDuration = time.Since(start)
|
||||
b.previousActiveSegment = nil
|
||||
b.renderSegment(segment)
|
||||
if b.activeSegment.Style == Powerline {
|
||||
b.writePowerline(false)
|
||||
}
|
||||
b.writePowerline(true)
|
||||
segmentTiming.stringValue = b.writer.string()
|
||||
b.writer.reset()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue