From ea1fd3d01b415d876559eeed45cde9ae45addb47 Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Thu, 23 Jun 2016 22:16:29 -0700 Subject: [PATCH] Only blink cursor if the terminal has focus Fixes #141 --- src/xterm.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xterm.css b/src/xterm.css index 29b2de21..b34f41a2 100644 --- a/src/xterm.css +++ b/src/xterm.css @@ -58,7 +58,7 @@ background-color: transparent; } -.terminal .terminal-cursor.blinking { +.terminal:focus .terminal-cursor.blinking { animation: blink-cursor 1.2s infinite step-end; }