[colorschemes] kitty.py Python2 compatibility

This commit is contained in:
Dmytro Meleshko 2019-08-30 21:53:16 +03:00
parent e5877a77fd
commit c32debefef
1 changed files with 11 additions and 11 deletions

View File

@ -7,15 +7,15 @@ def print_color(key_name, color):
print("{} {}".format(key_name, color))
print("background", theme.bg)
print("foreground", theme.fg)
print("cursor", theme.cursor_bg)
print("cursor_text_color", theme.cursor_fg)
print("selection_background", theme.selection_bg)
print("selection_foreground", theme.selection_fg)
print_color("background", theme.bg)
print_color("foreground", theme.fg)
print_color("cursor", theme.cursor_bg)
print_color("cursor_text_color", theme.cursor_fg)
print_color("selection_background", theme.selection_bg)
print_color("selection_foreground", theme.selection_fg)
for index, color in enumerate(theme.ansi_colors):
print("color" + str(index), color)
print("url_color", theme.link_color)
print("active_border_color", theme.ansi_colors[2])
print("inactive_border_color", theme.ansi_colors[8])
print("bell_border_color", theme.ansi_colors[1])
print_color("color" + str(index), color)
print_color("url_color", theme.link_color)
print_color("active_border_color", theme.ansi_colors[2])
print_color("inactive_border_color", theme.ansi_colors[8])
print_color("bell_border_color", theme.ansi_colors[1])