From 345553012f73f2775b4e7f61d53c038ba80d9f22 Mon Sep 17 00:00:00 2001 From: Martin Wang Date: Tue, 14 Feb 2017 12:35:39 -0500 Subject: [PATCH] Let blink animation support style inheritance With this change, blinking cursor will use the same font and background color that set before. --- src/xterm.css | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/xterm.css b/src/xterm.css index 27638e14..4bf18c5d 100644 --- a/src/xterm.css +++ b/src/xterm.css @@ -87,13 +87,10 @@ } @keyframes xterm-cursor-blink { - 0% { - background-color: #fff; - color: #000; - } + 0% { } 50% { background-color: transparent; - color: #FFF; + color: inherit; } }