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 {WebglAddon} from 'xterm-addon-webgl';
|
||||
import {LigaturesAddon} from 'xterm-addon-ligatures';
|
||||
import {Unicode11Addon} from 'xterm-addon-unicode11';
|
||||
import {clipboard, shell} from 'electron';
|
||||
import Color from 'color';
|
||||
import terms from '../terms';
|
||||
|
|
@ -177,6 +178,8 @@ export default class Term extends React.PureComponent<TermProps> {
|
|||
if (props.disableLigatures !== true) {
|
||||
this.term.loadAddon(new LigaturesAddon());
|
||||
}
|
||||
this.term.loadAddon(new Unicode11Addon());
|
||||
this.term.unicode.activeVersion = '11';
|
||||
} else {
|
||||
// get the cached plugins
|
||||
this.fitAddon = props.fitAddon!;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue