mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-01-27 08:19:15 +01:00
general: fix macos issue. Closes #302
This commit is contained in:
parent
33c8290452
commit
842be703e1
@ -57,6 +57,10 @@ def create_sequences(colors):
|
|||||||
set_color(232, colors["special"]["background"])
|
set_color(232, colors["special"]["background"])
|
||||||
])
|
])
|
||||||
|
|
||||||
|
if OS == "Darwin":
|
||||||
|
sequences += set_iterm_tab_color(colors["special"]["background"])
|
||||||
|
|
||||||
|
else:
|
||||||
# This escape sequence doesn't work in VTE terminals and their parsing of
|
# This escape sequence doesn't work in VTE terminals and their parsing of
|
||||||
# unknown sequences is garbage so we need to use some escape sequence
|
# unknown sequences is garbage so we need to use some escape sequence
|
||||||
# M A G I C to hide the output.
|
# M A G I C to hide the output.
|
||||||
@ -71,9 +75,6 @@ def create_sequences(colors):
|
|||||||
set_special(13, colors["special"]["cursor"], "l")
|
set_special(13, colors["special"]["cursor"], "l")
|
||||||
])
|
])
|
||||||
|
|
||||||
if OS == "Darwin":
|
|
||||||
sequences += set_iterm_tab_color(colors["special"]["background"])
|
|
||||||
|
|
||||||
return "".join(sequences)
|
return "".join(sequences)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user