Skip to content

Commit

Permalink
Update xterm.css
Browse files Browse the repository at this point in the history
Fixes #75827
  • Loading branch information
Tyriar committed Jun 20, 2019
1 parent c70c399 commit 5c1490f
Showing 1 changed file with 18 additions and 12 deletions.
30 changes: 18 additions & 12 deletions src/vs/workbench/contrib/terminal/browser/media/xterm.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
font-feature-settings: "liga" 0;
position: relative;
user-select: none;
-ms-user-select: none;
-webkit-user-select: none;
}

.xterm.focus,
Expand Down Expand Up @@ -127,13 +129,22 @@
line-height: normal;
}

.xterm {
cursor: text;
}

.xterm.enable-mouse-events {
/* When mouse events are enabled (e.g. tmux), revert to the standard pointer cursor */
/* When mouse events are enabled (eg. tmux), revert to the standard pointer cursor */
cursor: default;
}

.xterm:not(.enable-mouse-events) {
cursor: text;
.xterm.xterm-cursor-pointer {
cursor: pointer;
}

.xterm.column-select.focus {
/* Column selection mode */
cursor: crosshair;
}

.xterm .xterm-accessibility,
Expand All @@ -147,10 +158,6 @@
color: transparent;
}

.xterm .xterm-accessibility-tree:focus [id^="xterm-active-item-"] {
outline: 1px solid #F80;
}

.xterm .live-region {
position: absolute;
left: -9999px;
Expand All @@ -159,11 +166,10 @@
overflow: hidden;
}

.xterm-cursor-pointer {
cursor: pointer !important;
.xterm-dim {
opacity: 0.5;
}

.xterm.xterm-cursor-crosshair {
/* Column selection mode */
cursor: crosshair !important;
.xterm-underline {
text-decoration: underline;
}

0 comments on commit 5c1490f

Please sign in to comment.