mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-24 18:07:01 +00:00
...
This commit is contained in:
parent
59743fd7a1
commit
cd6a46730a
1 changed files with 1 additions and 1 deletions
|
|
@ -232,7 +232,7 @@ def set_default_colors(fg=None, bg=None, cursor=None, select_bg=None, select_fg=
|
|||
|
||||
def item(which, num):
|
||||
nonlocal ans
|
||||
if item is None:
|
||||
if which is None:
|
||||
ans += '\x1b]1{}\x1b\\'.format(num)
|
||||
else:
|
||||
ans += '\x1b]{};{}\x1b\\'.format(num, color_as_sharp(which if isinstance(which, Color) else to_color(which)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue