mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-21 02:55:37 -08:00
refactor: rename for clarity
This commit is contained in:
parent
82c8483603
commit
3e18c241ab
|
@ -31,7 +31,7 @@ func (e *engine) writePowerLineSeparator(background string, foreground string, e
|
|||
if end {
|
||||
symbol = e.previousActiveSegment.PowerlineSymbol
|
||||
}
|
||||
if e.activeSegment.InvertPowerlineSymbolColor {
|
||||
if e.activeSegment.InvertPowerline {
|
||||
e.renderer.write(foreground, background, symbol)
|
||||
return
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@ type Segment struct {
|
|||
Type SegmentType `json:"type"`
|
||||
Style SegmentStyle `json:"style"`
|
||||
PowerlineSymbol string `json:"powerline_symbol"`
|
||||
InvertPowerlineSymbolColor bool `json:"invert_powerline_symbol_color"`
|
||||
InvertPowerline bool `json:"invert_powerline"`
|
||||
Foreground string `json:"foreground"`
|
||||
Background string `json:"background"`
|
||||
LeadingDiamond string `json:"leading_diamond"`
|
||||
|
|
Loading…
Reference in a new issue