Make cursor hollow on blur

Fix #79
This commit is contained in:
Paris
2016-06-07 10:42:21 +00:00
parent 11823ce890
commit d82c008052
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -21,6 +21,6 @@ h1 {
padding: 2px;
}
#terminal-container .terminal .terminal-cursor {
#terminal-container .terminal:focus .terminal-cursor {
background-color: #fafafa;
}
+6
View File
@@ -51,6 +51,12 @@
color: #000;
}
.terminal:not(:focus) .terminal-cursor {
outline: 1px solid #fff;
outline-offset: -1px;
background-color: transparent;
}
/*
* Determine default colors for xterm.js
*/