mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-01-03 15:27:26 -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()
|
start = time.Now()
|
||||||
segment.stringValue = segment.string()
|
segment.stringValue = segment.string()
|
||||||
segmentTiming.stringDuration = time.Since(start)
|
segmentTiming.stringDuration = time.Since(start)
|
||||||
b.previousActiveSegment = nil
|
|
||||||
b.renderSegment(segment)
|
b.renderSegment(segment)
|
||||||
if b.activeSegment.Style == Powerline {
|
b.writePowerline(true)
|
||||||
b.writePowerline(false)
|
|
||||||
}
|
|
||||||
segmentTiming.stringValue = b.writer.string()
|
segmentTiming.stringValue = b.writer.string()
|
||||||
b.writer.reset()
|
b.writer.reset()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue