mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 04:28:41 -09:00
add xterm unicode 11 addon
This commit is contained in:
parent
419f9a0464
commit
ff0956cb18
3 changed files with 9 additions and 0 deletions
|
|
@ -5,6 +5,7 @@ import {WebLinksAddon} from 'xterm-addon-web-links';
|
||||||
import {SearchAddon} from 'xterm-addon-search';
|
import {SearchAddon} from 'xterm-addon-search';
|
||||||
import {WebglAddon} from 'xterm-addon-webgl';
|
import {WebglAddon} from 'xterm-addon-webgl';
|
||||||
import {LigaturesAddon} from 'xterm-addon-ligatures';
|
import {LigaturesAddon} from 'xterm-addon-ligatures';
|
||||||
|
import {Unicode11Addon} from 'xterm-addon-unicode11';
|
||||||
import {clipboard, shell} from 'electron';
|
import {clipboard, shell} from 'electron';
|
||||||
import Color from 'color';
|
import Color from 'color';
|
||||||
import terms from '../terms';
|
import terms from '../terms';
|
||||||
|
|
@ -177,6 +178,8 @@ export default class Term extends React.PureComponent<TermProps> {
|
||||||
if (props.disableLigatures !== true) {
|
if (props.disableLigatures !== true) {
|
||||||
this.term.loadAddon(new LigaturesAddon());
|
this.term.loadAddon(new LigaturesAddon());
|
||||||
}
|
}
|
||||||
|
this.term.loadAddon(new Unicode11Addon());
|
||||||
|
this.term.unicode.activeVersion = '11';
|
||||||
} else {
|
} else {
|
||||||
// get the cached plugins
|
// get the cached plugins
|
||||||
this.fitAddon = props.fitAddon!;
|
this.fitAddon = props.fitAddon!;
|
||||||
|
|
|
||||||
|
|
@ -54,6 +54,7 @@
|
||||||
"xterm-addon-fit": "^0.4.0",
|
"xterm-addon-fit": "^0.4.0",
|
||||||
"xterm-addon-ligatures": "^0.3.0",
|
"xterm-addon-ligatures": "^0.3.0",
|
||||||
"xterm-addon-search": "^0.7.0",
|
"xterm-addon-search": "^0.7.0",
|
||||||
|
"xterm-addon-unicode11": "^0.2.0",
|
||||||
"xterm-addon-web-links": "^0.4.0",
|
"xterm-addon-web-links": "^0.4.0",
|
||||||
"xterm-addon-webgl": "^0.8.0"
|
"xterm-addon-webgl": "^0.8.0"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -8668,6 +8668,11 @@ xterm-addon-search@^0.7.0:
|
||||||
resolved "https://registry.yarnpkg.com/xterm-addon-search/-/xterm-addon-search-0.7.0.tgz#c929d3e5cbb335e82bff72f158ea82936d9cd4ef"
|
resolved "https://registry.yarnpkg.com/xterm-addon-search/-/xterm-addon-search-0.7.0.tgz#c929d3e5cbb335e82bff72f158ea82936d9cd4ef"
|
||||||
integrity sha512-6060evmJJ+tZcjnx33FXaeEHLpuXEa7l9UzUsYfMlCKbu88AbE+5LJocTKCHYd71cwCwb9pjmv/G1o9Rf9Zbcg==
|
integrity sha512-6060evmJJ+tZcjnx33FXaeEHLpuXEa7l9UzUsYfMlCKbu88AbE+5LJocTKCHYd71cwCwb9pjmv/G1o9Rf9Zbcg==
|
||||||
|
|
||||||
|
xterm-addon-unicode11@^0.2.0:
|
||||||
|
version "0.2.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/xterm-addon-unicode11/-/xterm-addon-unicode11-0.2.0.tgz#9ed0c482b353908bba27778893ca80823382737c"
|
||||||
|
integrity sha512-rjFDItPc/IDoSiEnoDFwKroNwLD/7t9vYKENjrcKVZg5tgJuuUj8D4rZtP6iVCjSB1LTLYmUs4L/EmCqIyLR/Q==
|
||||||
|
|
||||||
xterm-addon-web-links@^0.4.0:
|
xterm-addon-web-links@^0.4.0:
|
||||||
version "0.4.0"
|
version "0.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/xterm-addon-web-links/-/xterm-addon-web-links-0.4.0.tgz#265cbf8221b9b315d0a748e1323bee331cd5da03"
|
resolved "https://registry.yarnpkg.com/xterm-addon-web-links/-/xterm-addon-web-links-0.4.0.tgz#265cbf8221b9b315d0a748e1323bee331cd5da03"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue