General: Revert fix.

This commit is contained in:
Dylan Araps 2017-06-26 10:10:55 +10:00
parent 1899080a7d
commit 6c7d6370a6

6
wal
View File

@ -273,10 +273,6 @@ def set_special(index, color):
ColorType.xrdb.append(f"URxvt*cursorColor: {color}")
ColorType.xrdb.append(f"XTerm*cursorColor: {color}")
elif index == 66:
ColorType.xrdb.append(f"*color{index}: {color}")
ColorType.sequences.append(f"\\033]4;{index};{color}\\007")
def set_color(index, color):
"""Build the escape sequence we need for each color."""
@ -324,7 +320,7 @@ def send_sequences(colors, vte):
[set_color(num, color) for num, color in enumerate(colors)]
# Set a blank color that isn"t affected by bold highlighting.
set_special(66, colors[0])
set_color(66, colors[0])
# Make the terminal interpret escape sequences.
sequences = fix_escape("".join(ColorType.sequences))