Skip to content

Commit

Permalink
Always show outlined block cursor in unfocused state
Browse files Browse the repository at this point in the history
  • Loading branch information
mofux committed Jul 25, 2017
1 parent d682167 commit e5158ad
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/xterm.css
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
position: relative;
}

.terminal.xterm-cursor-style-block:not(.focus) .terminal-cursor {
.terminal:not(.focus) .terminal-cursor {
outline: 1px solid #fff;
outline-offset: -1px;
}
Expand All @@ -103,21 +103,21 @@
color: #000;
}

.terminal.xterm-cursor-style-bar:not(.xterm-cursor-blink-on) .terminal-cursor::before,
.terminal.xterm-cursor-style-underline:not(.xterm-cursor-blink-on) .terminal-cursor::before {
.terminal.focus.xterm-cursor-style-bar:not(.xterm-cursor-blink-on) .terminal-cursor::before,
.terminal.focus.xterm-cursor-style-underline:not(.xterm-cursor-blink-on) .terminal-cursor::before {
content: '';
position: absolute;
background-color: #fff;
}

.terminal.xterm-cursor-style-bar:not(.xterm-cursor-blink-on) .terminal-cursor::before {
.terminal.focus.xterm-cursor-style-bar:not(.xterm-cursor-blink-on) .terminal-cursor::before {
top: 0;
left: 0;
bottom: 0;
width: 1px;
}

.terminal.xterm-cursor-style-underline:not(.xterm-cursor-blink-on) .terminal-cursor::before {
.terminal.focus.xterm-cursor-style-underline:not(.xterm-cursor-blink-on) .terminal-cursor::before {
bottom: 0;
left: 0;
right: 0;
Expand Down

0 comments on commit e5158ad

Please sign in to comment.