Fix blank space at the start of tab bar in powerline style when first tab is inactive
Fix #2478
This commit is contained in:
parent
0da566b49f
commit
fffb976e43
@ -13,6 +13,9 @@ To update |kitty|, :doc:`follow the instructions <binary>`.
|
|||||||
- Hints kitten: Adjust the default regex used to detect line numbers to handle
|
- Hints kitten: Adjust the default regex used to detect line numbers to handle
|
||||||
line+column numbers (:iss:`2268`)
|
line+column numbers (:iss:`2268`)
|
||||||
|
|
||||||
|
- Fix blank space at the start of tab bar in powerline style when first tab is
|
||||||
|
inactive (:iss:`2478`)
|
||||||
|
|
||||||
|
|
||||||
0.17.1 [2020-03-24]
|
0.17.1 [2020-03-24]
|
||||||
--------------------
|
--------------------
|
||||||
|
|||||||
@ -137,6 +137,7 @@ def draw_tab_with_powerline(draw_data: DrawData, screen: Screen, tab: TabBarData
|
|||||||
screen.draw(' ')
|
screen.draw(' ')
|
||||||
screen.cursor.fg = tab_fg
|
screen.cursor.fg = tab_fg
|
||||||
elif screen.cursor.x == 0:
|
elif screen.cursor.x == 0:
|
||||||
|
screen.cursor.bg = tab_bg
|
||||||
screen.draw(' ')
|
screen.draw(' ')
|
||||||
start_draw = 1
|
start_draw = 1
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user