Skip to content

Commit d202bdd

Browse files
authored
Merge pull request #258 from JunoLab/sp/updatexterm
update xterm
2 parents 386faf0 + 1abe585 commit d202bdd

File tree

3 files changed

+23
-12
lines changed

3 files changed

+23
-12
lines changed

lib/console/console.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { CompositeDisposable } from 'atom'
77
import { Terminal } from 'xterm'
88
import { SearchAddon } from 'xterm-addon-search'
99
import { WebLinksAddon } from 'xterm-addon-web-links'
10+
import { Unicode11Addon } from 'xterm-addon-unicode11'
1011
import { FitAddon } from 'xterm-addon-fit'
1112
import TerminalElement from './view'
1213
import PaneItem from '../util/pane-item'
@@ -109,6 +110,10 @@ export default class InkTerminal extends PaneItem {
109110
this.searchAddon = new SearchAddon()
110111
this.terminal.loadAddon(this.searchAddon)
111112

113+
this.unicode11Addon = new Unicode11Addon()
114+
this.terminal.loadAddon(this.unicode11Addon)
115+
this.terminal.activeVersion = '11'
116+
112117
this.fitAddon = new FitAddon()
113118
this.terminal.loadAddon(this.fitAddon)
114119

package-lock.json

Lines changed: 14 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@
2424
"katex": "0.11.0",
2525
"replace-in-file": "^3.0.0",
2626
"underscore-plus": "^1.6.6",
27-
"xterm": "4.3.0",
27+
"xterm": "4.4.0",
2828
"xterm-addon-fit": "^0.3.0",
29-
"xterm-addon-search": "^0.4.0",
29+
"xterm-addon-search": "^0.5.0",
30+
"xterm-addon-unicode11": "^0.1.1",
3031
"xterm-addon-web-links": "^0.2.1",
31-
"xterm-addon-webgl": "^0.4.1"
32+
"xterm-addon-webgl": "^0.5.0"
3233
},
3334
"scripts": {
3435
"postinstall": "node scripts/postinstall.js"

0 commit comments

Comments
 (0)