Fix padding issue with single-sided statuslines
This commit is contained in:
parent
a26d5e5319
commit
44fb24dee6
|
@ -89,7 +89,7 @@ class Renderer(object):
|
|||
compare_segment = next_segment if segment['side'] == 'left' else prev_segment
|
||||
|
||||
segment['rendered_raw'] = u''
|
||||
outer_padding = ' ' if index == 0 or index == segments_len - 1 else ''
|
||||
outer_padding = ' ' if index == 0 or (index == segments_len - 1 and segment['side'] == 'right') else ''
|
||||
divider_type = 'soft' if compare_segment['highlight'][mode]['bg'] == segment['highlight'][mode]['bg'] else 'hard'
|
||||
divider = theme.get_divider(segment['side'], divider_type)
|
||||
|
||||
|
|
Loading…
Reference in New Issue