Add visual bell styling for underline and bar cursor types

This commit is contained in:
npezza93
2017-08-16 20:39:27 -04:00
parent 96c9d50ee2
commit d8717d64ba
+7 -1
View File
@@ -91,6 +91,7 @@
.terminal .terminal-cursor {
position: relative;
transition: background-color 150ms ease;
}
.terminal:not(.focus) .terminal-cursor {
@@ -108,6 +109,7 @@
content: '';
position: absolute;
background-color: #fff;
transition: background-color 150ms ease;
}
.terminal.focus.xterm-cursor-style-bar:not(.xterm-cursor-blink-on) .terminal-cursor::before {
@@ -124,9 +126,13 @@
height: 1px;
}
.visual-bell-active .terminal-cursor {
.terminal.focus.xterm-cursor-style-block.visual-bell-active .terminal-cursor {
background-color: #ccc !important;
}
.terminal.focus.xterm-cursor-style-bar.visual-bell-active .terminal-cursor::before,
.terminal.focus.xterm-cursor-style-underline.visual-bell-active .terminal-cursor::before {
background-color: transparent;
}
.terminal .composition-view {
background: #000;