Improve rendering performance of chars with background (#2769)

Integrate https://github.com/xtermjs/xterm.js/pull/1327 (7c3a30f239)

Fixes #2592
This commit is contained in:
CHaBou 2018-03-18 01:19:26 +01:00 committed by GitHub
parent 7838a10d1a
commit 269bb8e65f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 4 deletions

View file

@ -29,6 +29,7 @@ const getTermOptions = props => {
fontWeight: props.fontWeight, fontWeight: props.fontWeight,
fontWeightBold: props.fontWeightBold, fontWeightBold: props.fontWeightBold,
allowTransparency: needTransparency, allowTransparency: needTransparency,
experimentalCharAtlas: 'dynamic',
theme: { theme: {
foreground: props.foregroundColor, foreground: props.foregroundColor,
background: backgroundColor, background: backgroundColor,

View file

@ -199,7 +199,7 @@
"styled-jsx": "2.2.6", "styled-jsx": "2.2.6",
"stylis": "3.5.0", "stylis": "3.5.0",
"uuid": "3.1.0", "uuid": "3.1.0",
"xterm": "3.2.0" "xterm": "chabou/xterm.js#b2e393f"
}, },
"devDependencies": { "devDependencies": {
"ava": "0.25.0", "ava": "0.25.0",

View file

@ -6693,9 +6693,9 @@ xtend@~2.1.1:
dependencies: dependencies:
object-keys "~0.4.0" object-keys "~0.4.0"
xterm@3.2.0: xterm@chabou/xterm.js#b2e393f:
version "3.2.0" version "3.2.0-hyper.0"
resolved "https://registry.yarnpkg.com/xterm/-/xterm-3.2.0.tgz#da50f54a83d81463c0a2c9f2e0a5d14d3867df02" resolved "https://codeload.github.com/chabou/xterm.js/tar.gz/b2e393f48029ff638d20d2ba6347d0829bd20c42"
y18n@^3.2.1: y18n@^3.2.1:
version "3.2.1" version "3.2.1"