]> git.proxmox.com Git - mirror_xterm.js.git/blobdiff - src/xterm.css
Merge pull request #746 from Tyriar/745_colon_word_sep
[mirror_xterm.js.git] / src / xterm.css
index 72c1b8599fa8b50eb97ea2908e3c0a97675a6bd1..6d6f48fadc9fed00907e37441a1260a261ac7bf0 100644 (file)
@@ -42,6 +42,8 @@
     font-feature-settings: "liga" 0;
     position: relative;
     user-select: none;
+    -ms-user-select: none;
+    -webkit-user-select: none;
 }
 
 .terminal.focus,
     overflow-y: scroll;
 }
 
-.terminal .xterm-wide-char {
+.terminal .xterm-wide-char,
+.terminal .xterm-normal-char {
     display: inline-block;
 }
 
     left: -9999em;
 }
 
+.terminal.enable-mouse-events {
+    /* When mouse events are enabled (eg. tmux), revert to the standard pointer cursor */
+    cursor: default;
+}
+
+.terminal .xterm-selection {
+    position: absolute;
+    top: 0;
+    left: 0;
+    z-index: 1;
+    opacity: 0.3;
+    pointer-events: none;
+}
+
+.terminal .xterm-selection div {
+    position: absolute;
+    background-color: #fff;
+}
+
 /*
  *  Determine default colors for xterm.js
  */