aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Araps <[email protected]>2017-06-29 12:33:01 +1000
committerDylan Araps <[email protected]>2017-06-29 12:33:01 +1000
commit3283d38e07d4b20ad3a0646d28284fe205fcdc57 (patch)
treed574432dc7a64b50b5e146fec5ff7db526b020f9
parenttests: Update tests to support the new json config files. (diff)
downloadpywal-3283d38e07d4b20ad3a0646d28284fe205fcdc57.tar.xz
pywal-3283d38e07d4b20ad3a0646d28284fe205fcdc57.zip
colors: Figured out what the escape sequences do.
-rwxr-xr-xpywal/set_colors.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pywal/set_colors.py b/pywal/set_colors.py
index da88e45..6ac53e7 100755
--- a/pywal/set_colors.py
+++ b/pywal/set_colors.py
@@ -43,13 +43,13 @@ def send_sequences(colors, vte):
for num, color in enumerate(colors["colors"].values())]
# Special colors.
+ # http://pod.tst.eu/http://cvs.schmorp.de/rxvt-unicode/doc/rxvt.7.pod#XTerm_Operating_System_Commands
+ # 10 = foreground, 11 = background, 12 = cursor foregound
+ # 13 = mouse foreground
sequences.append(set_special(10, colors["special"]["foreground"]))
sequences.append(set_special(11, colors["special"]["background"]))
sequences.append(set_special(12, colors["special"]["cursor"]))
-
- # Figure out what these change.
- # sequences.append(set_special(13, colors["foreground"]))
- # sequences.append(set_special(14, colors["background"]))
+ sequences.append(set_special(13, colors["special"]["cursor"]))
# Set a blank color that isn"t affected by bold highlighting.
sequences.append(set_color(66, colors["special"]["background"]))