From 95b934497bfeb62c7f501c19bb3720e280b0c39d Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 28 Dec 2017 06:42:47 +1100 Subject: general: Fix flicker --- pywal/sequences.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'pywal/sequences.py') 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) -- cgit v1.2.3