mirror of
https://github.com/powerline/powerline.git
synced 2025-07-26 15:25:06 +02:00
Also set prefix when processing segments in parsed_segments list
This commit is contained in:
parent
1c1d33dbbf
commit
dbc994887d
@ -146,6 +146,7 @@ class Theme(object):
|
|||||||
self.colorscheme,
|
self.colorscheme,
|
||||||
)
|
)
|
||||||
for segment in parsed_segments:
|
for segment in parsed_segments:
|
||||||
|
self.pl.prefix = segment['name']
|
||||||
width = segment['width']
|
width = segment['width']
|
||||||
align = segment['align']
|
align = segment['align']
|
||||||
if width == 'auto' and segment['expand'] is None:
|
if width == 'auto' and segment['expand'] is None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user