X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;ds=sidebyside;f=dist%2Fxterm.css;fp=dist%2Fxterm.css;h=6d6f48fadc9fed00907e37441a1260a261ac7bf0;hb=479fb0e782359165091bd2e8970ac50c6695aa74;hp=efdc016982ae66a74fcdf39e5974e40f35974098;hpb=8ba11a2bd01392e0c2d09c8e825ba9d74f3706a2;p=mirror_xterm.js.git diff --git a/dist/xterm.css b/dist/xterm.css index efdc016..6d6f48f 100644 --- a/dist/xterm.css +++ b/dist/xterm.css @@ -41,6 +41,9 @@ font-family: courier-new, courier, monospace; font-feature-settings: "liga" 0; position: relative; + user-select: none; + -ms-user-select: none; + -webkit-user-select: none; } .terminal.focus, @@ -180,6 +183,25 @@ 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 */