File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -377,6 +377,9 @@ function initAddons(term: TerminalType): void {
377377 if ( ! addon . canChange ) {
378378 checkbox . disabled = true ;
379379 }
380+ if ( name === 'unicode11' && checkbox . checked ) {
381+ term . unicode . activeVersion = '11' ;
382+ }
380383 addDomListener ( checkbox , 'change' , ( ) => {
381384 if ( checkbox . checked ) {
382385 addon . instance = new addon . ctor ( ) ;
@@ -385,10 +388,14 @@ function initAddons(term: TerminalType): void {
385388 setTimeout ( ( ) => {
386389 document . body . appendChild ( ( addon . instance as WebglAddon ) . textureAtlas ) ;
387390 } , 0 ) ;
391+ } else if ( name === 'unicode11' ) {
392+ term . unicode . activeVersion = '11' ;
388393 }
389394 } else {
390395 if ( name === 'webgl' ) {
391396 document . body . removeChild ( ( addon . instance as WebglAddon ) . textureAtlas ) ;
397+ } else if ( name === 'unicode11' ) {
398+ term . unicode . activeVersion = '6' ;
392399 }
393400 addon . instance ! . dispose ( ) ;
394401 addon . instance = undefined ;
You can’t perform that action at this time.
0 commit comments