diff --git a/pywal/sequences.py b/pywal/sequences.py index 937b8528..0d6e0e6f 100644 --- a/pywal/sequences.py +++ b/pywal/sequences.py @@ -45,6 +45,10 @@ def create_sequences(colors, vte): sequences = [set_color(index, colors["colors"]["color%s" % index]) for index in range(16)] + # This escape sequence doesn"t work in VTE terminals. + if not vte: + sequences.append(set_special(708, colors["special"]["background"])) + # Special colors. # Source: https://goo.gl/KcoQgP # 10 = foreground, 11 = background, 12 = cursor foregound @@ -57,10 +61,6 @@ def create_sequences(colors, vte): if OS == "Darwin": sequences += set_iterm_tab_color(colors["special"]["background"]) - # This escape sequence doesn"t work in VTE terminals. - if not vte: - sequences.append(set_special(708, colors["special"]["background"])) - return "".join(sequences)