mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-02-13 08:50:53 +01:00
general: Fix flicker
This commit is contained in:
parent
695ae1ffb2
commit
95b934497b
@ -52,7 +52,9 @@ def create_sequences(colors):
|
||||
sequences.append(set_special(10, colors["special"]["foreground"], "g"))
|
||||
sequences.append(set_special(11, colors["special"]["background"], "h"))
|
||||
sequences.append(set_special(12, colors["colors"]["color1"], "l"))
|
||||
sequences.append(set_special(13, colors["special"]["cursor"], "l"))
|
||||
|
||||
# Hide the cursor.
|
||||
sequences.append(set_special(13, colors["special"]["foreground"], "l"))
|
||||
|
||||
if OS == "Darwin":
|
||||
sequences += set_iterm_tab_color(colors["special"]["background"])
|
||||
@ -68,6 +70,9 @@ def create_sequences(colors):
|
||||
sequences.append("\0337\033[1000H\033[8m\033]708;%s\007\0338" %
|
||||
colors['special']['background'])
|
||||
|
||||
# Show the cursor.
|
||||
sequences.append(set_special(13, colors["special"]["cursor"], "l"))
|
||||
|
||||
return "".join(sequences)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user