Skip to content

Commit

Permalink
kitty: fix custom tab_bar.py script
Browse files Browse the repository at this point in the history
For some reason the script was failing to load due to:

Custom draw tab function failed with error: 'kitty.fast_data_types.Color' object cannot be interpreted as an integer
  • Loading branch information
geodimm committed Nov 9, 2023
1 parent 266384c commit 1307b50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kitty/tab_bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def draw_tab(
orig_bg = screen.cursor.bg

def draw_sep(which: str) -> None:
screen.cursor.bg = draw_data.default_bg
screen.cursor.bg = draw_data.default_bg.rgb
screen.cursor.fg = orig_bg
screen.draw(which)
screen.cursor.bg = orig_bg
Expand Down

0 comments on commit 1307b50

Please sign in to comment.