diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2017-12-28 06:42:47 +1100 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2017-12-28 06:42:47 +1100 |
| commit | 95b934497bfeb62c7f501c19bb3720e280b0c39d (patch) | |
| tree | 5f27012f4779fb0cbd13664fd68743247a248e52 /pywal | |
| parent | 695ae1ffb22f64f4b26a282a49b08a9ce635c9e6 (diff) | |
general: Fix flicker
Diffstat (limited to 'pywal')
| -rw-r--r-- | pywal/sequences.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pywal/sequences.py b/pywal/sequences.py index e82ee6e..1acaf26 100644 --- a/pywal/sequences.py +++ b/pywal/sequences.py @@ -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) |
