]> git.proxmox.com Git - mirror_xterm.js.git/commitdiff
Let blink animation support style inheritance
authorMartin Wang <jiahaow@ca.ibm.com>
Tue, 14 Feb 2017 17:35:39 +0000 (12:35 -0500)
committerMartin Wang <jiahaow@ca.ibm.com>
Tue, 14 Feb 2017 17:35:39 +0000 (12:35 -0500)
With this change, blinking cursor will use the same font and background
color that set before.

src/xterm.css

index 27638e14756ef607c7aec3bc181f40c723d4b1ff..4bf18c5d2a54186c910bf162425039742f6194bb 100644 (file)
 }
 
 @keyframes xterm-cursor-blink {
-    0% {
-        background-color: #fff;
-        color: #000;
-    }
+    0% { }
     50% {
         background-color: transparent;
-        color: #FFF;
+        color: inherit;
     }
 }