Skip to content

Commit 295d285

Browse files
committed
Improve rendering performance of chars with background
Integrate xtermjs/xterm.js#1327 (xtermjs/xterm.js@7c3a30f) Fixes vercel#2592
1 parent 4297103 commit 295d285

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

lib/components/term.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ const getTermOptions = props => {
2929
fontWeight: props.fontWeight,
3030
fontWeightBold: props.fontWeightBold,
3131
allowTransparency: needTransparency,
32+
experimentalCharAtlas: 'dynamic',
3233
theme: {
3334
foreground: props.foregroundColor,
3435
background: backgroundColor,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199
"styled-jsx": "2.2.6",
200200
"stylis": "3.5.0",
201201
"uuid": "3.1.0",
202-
"xterm": "3.2.0"
202+
"xterm": "chabou/xterm.js#b2e393f"
203203
},
204204
"devDependencies": {
205205
"ava": "0.25.0",

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6693,9 +6693,9 @@ xtend@~2.1.1:
66936693
dependencies:
66946694
object-keys "~0.4.0"
66956695

6696-
xterm@3.2.0:
6697-
version "3.2.0"
6698-
resolved "https://registry.yarnpkg.com/xterm/-/xterm-3.2.0.tgz#da50f54a83d81463c0a2c9f2e0a5d14d3867df02"
6696+
xterm@chabou/xterm.js#b2e393f:
6697+
version "3.2.0-hyper.0"
6698+
resolved "https://codeload.github.com/chabou/xterm.js/tar.gz/b2e393f48029ff638d20d2ba6347d0829bd20c42"
66996699

67006700
y18n@^3.2.1:
67016701
version "3.2.1"

0 commit comments

Comments
 (0)