Disable ligatures when using webgl renderer

This commit is contained in:
Labhansh Agrawal 2021-07-19 13:45:35 +05:30
parent 54bdc9ba5d
commit 1e64e72797

View file

@ -176,7 +176,7 @@ export default class Term extends React.PureComponent<TermProps> {
if (useWebGL) {
this.term.loadAddon(new WebglAddon());
}
if (props.disableLigatures !== true) {
if (props.disableLigatures !== true && !useWebGL) {
this.term.loadAddon(new LigaturesAddon());
}
this.term.loadAddon(new Unicode11Addon());