upgraded xterm

This commit is contained in:
Eugene Pankov 2021-12-22 21:16:45 +01:00
parent 5f88a02647
commit 8a8e7cd99f
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4
3 changed files with 28 additions and 24 deletions

View File

@ -25,13 +25,13 @@
"hexer": "^1.5.0", "hexer": "^1.5.0",
"ps-node": "^0.1.6", "ps-node": "^0.1.6",
"runes": "^0.4.2", "runes": "^0.4.2",
"xterm": "npm:@tabby-gang/xterm@^4.15.1-beta.1", "xterm": "npm:@tabby-gang/xterm@^4.16.0",
"xterm-addon-fit": "^0.5.0", "xterm-addon-fit": "^0.5.0",
"xterm-addon-ligatures": "^0.5.0", "xterm-addon-ligatures": "^0.5.0",
"xterm-addon-search": "^0.8.1", "xterm-addon-search": "^0.8.2",
"xterm-addon-serialize": "^0.6.1", "xterm-addon-serialize": "^0.6.1",
"xterm-addon-unicode11": "^0.3.0", "xterm-addon-unicode11": "^0.3.0",
"xterm-addon-webgl": "^0.11.3", "xterm-addon-webgl": "^0.11.4",
"zmodem.js": "^0.1.9" "zmodem.js": "^0.1.9"
}, },
"resolutions": { "resolutions": {

View File

@ -36,7 +36,6 @@
*/ */
.xterm { .xterm {
font-feature-settings: "liga" 0;
position: relative; position: relative;
user-select: none; user-select: none;
-ms-user-select: none; -ms-user-select: none;
@ -55,21 +54,21 @@
* The z-index of the helpers must be higher than the canvases in order for * The z-index of the helpers must be higher than the canvases in order for
* IMEs to appear on top. * IMEs to appear on top.
*/ */
z-index: 10; z-index: 5;
} }
.xterm .xterm-helper-textarea { .xterm .xterm-helper-textarea {
/* padding: 0;
* HACK: to fix IE's blinking cursor border: 0;
* Move textarea out of the screen to the far left, so that the cursor is not visible. margin: 0;
*/ /* Move textarea out of the screen to the far left, so that the cursor is not visible */
position: absolute; position: absolute;
opacity: 0; opacity: 0;
left: -9999em; left: -9999em;
top: 0; top: 0;
width: 0; width: 0;
height: 0; height: 0;
z-index: -10; z-index: -5;
/** Prevent wrapping so the IME appears against the textarea at the correct position */ /** Prevent wrapping so the IME appears against the textarea at the correct position */
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
@ -134,7 +133,8 @@
cursor: default; cursor: default;
} }
.xterm.xterm-cursor-pointer { .xterm.xterm-cursor-pointer,
.xterm .xterm-cursor-pointer {
cursor: pointer; cursor: pointer;
} }
@ -150,7 +150,7 @@
top: 0; top: 0;
bottom: 0; bottom: 0;
right: 0; right: 0;
z-index: 100; z-index: 10;
color: transparent; color: transparent;
} }
@ -170,6 +170,10 @@
text-decoration: underline; text-decoration: underline;
} }
.xterm-strikethrough {
text-decoration: line-through;
}
/*----*/ /*----*/
@font-face { @font-face {

View File

@ -164,10 +164,10 @@ xterm-addon-ligatures@^0.5.0:
font-finder "^1.1.0" font-finder "^1.1.0"
font-ligatures "^1.4.0" font-ligatures "^1.4.0"
xterm-addon-search@^0.8.1: xterm-addon-search@^0.8.2:
version "0.8.1" version "0.8.2"
resolved "https://registry.yarnpkg.com/xterm-addon-search/-/xterm-addon-search-0.8.1.tgz#dfc557e9bcf5fd8ed96292c0d271aa865bc545d5" resolved "https://registry.yarnpkg.com/xterm-addon-search/-/xterm-addon-search-0.8.2.tgz#be7aa74d5ff12c901707c6ff674229f214318032"
integrity sha512-OtOaC9gxD2Q4ZnjZrCSRZmKLwwUjXX3gP7mIzq8Rs50317DGRDqgTLuHTYv/Nx/LvI5ceVFRYCxK36Ixs1nXNw== integrity sha512-I1863mjn8P6uVrqm/X+btalVsqjAKLhnhpbP7SavAOpEkI1jJhbHU2UTp7NjeRtcKTks6UWk/ycgds5snDSejg==
xterm-addon-serialize@^0.6.1: xterm-addon-serialize@^0.6.1:
version "0.6.1" version "0.6.1"
@ -179,15 +179,15 @@ xterm-addon-unicode11@^0.3.0:
resolved "https://registry.yarnpkg.com/xterm-addon-unicode11/-/xterm-addon-unicode11-0.3.0.tgz#e4435c3c91a5294a7eb8b79c380acbb28a659463" resolved "https://registry.yarnpkg.com/xterm-addon-unicode11/-/xterm-addon-unicode11-0.3.0.tgz#e4435c3c91a5294a7eb8b79c380acbb28a659463"
integrity sha512-x5fHDZT2j9tlTlHnzPHt++9uKZ2kJ/lYQOj3L6xJA22xoJsS8UQRw/5YIFg2FUHqEAbV77Z1fZij/9NycMSH/A== integrity sha512-x5fHDZT2j9tlTlHnzPHt++9uKZ2kJ/lYQOj3L6xJA22xoJsS8UQRw/5YIFg2FUHqEAbV77Z1fZij/9NycMSH/A==
xterm-addon-webgl@^0.11.3: xterm-addon-webgl@^0.11.4:
version "0.11.3" version "0.11.4"
resolved "https://registry.yarnpkg.com/xterm-addon-webgl/-/xterm-addon-webgl-0.11.3.tgz#4d13933d8810d146613bbb66d59ea90de561f999" resolved "https://registry.yarnpkg.com/xterm-addon-webgl/-/xterm-addon-webgl-0.11.4.tgz#e22f3ec0cafca3d4adcabb89bb7c16efaaf3c8db"
integrity sha512-Lr6VjLYOrgxLNaUNLDdCBehkr1Vaja/laDMTtvghfRusUMRXTlRKlCb7E3yqx4VgCg5KcV96cArmh88KcwSpUg== integrity sha512-/a/VFeftc+etGXQYWaaks977j1P7/wickBXn15zDxZzXYYMT9RN17ztqyIDVLXg9krtg28+icKK6lvgIYghJ0w==
"xterm@npm:@tabby-gang/xterm@^4.15.1-beta.1": "xterm@npm:@tabby-gang/xterm@^4.16.0":
version "4.15.1-beta.1" version "4.16.0"
resolved "https://registry.yarnpkg.com/@tabby-gang/xterm/-/xterm-4.15.1-beta.1.tgz#217a52f4e614cbbe567413e921b221e12a4f31c2" resolved "https://registry.yarnpkg.com/@tabby-gang/xterm/-/xterm-4.16.0.tgz#5706adc800aa515d3ae214cba9ceec670500735d"
integrity sha512-rn7AfdAQwl4sLvgUVJqJNyZP/0rnrBHjENV/iwgbd6bPfKcpynhjog7fv4Jxmp73itPnLuIs71D2kk9t1Hu0Wg== integrity sha512-TeEhVmMtbkLyUIELHhWO39oxvD/KG7ZTLlx/OyDRXAeU6FoZFRATBKa8S70teJkyZ0yDgy8QZlRyx0HdRIIoyA==
yallist@^4.0.0: yallist@^4.0.0:
version "4.0.0" version "4.0.0"