mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
Fixed the cursor's color (#2520)
* 🐛 Fix underline cursor color * 🐛 Fix unfocused box when cursor is underline * 🐛 Fix BAR color and make BAR and UNDERLINE transparent when not in focus * 🐛 Bring back the box when unfocused * 🐛 Add cursorColor to unfocused underline and bar
This commit is contained in:
parent
744707e29c
commit
da10f01a00
1 changed files with 2 additions and 2 deletions
|
|
@ -99,7 +99,7 @@ export default class StyleSheet extends React.PureComponent {
|
|||
content: "";
|
||||
display: block;
|
||||
position: absolute;
|
||||
background-color: #fff;
|
||||
background-color: ${cursorColor};
|
||||
}
|
||||
.terminal.xterm-cursor-style-bar .terminal-cursor::before {
|
||||
top: 0;
|
||||
|
|
@ -119,7 +119,7 @@ export default class StyleSheet extends React.PureComponent {
|
|||
}
|
||||
.terminal.xterm-cursor-style-bar.focus.xterm-cursor-blink .terminal-cursor::before,
|
||||
.terminal.xterm-cursor-style-underline.focus.xterm-cursor-blink .terminal-cursor::before {
|
||||
background-color: #fff;
|
||||
background-color: ${cursorColor};
|
||||
}
|
||||
|
||||
.terminal .composition-view {
|
||||
|
|
|
|||
Loading…
Reference in a new issue