type fixes & docs

This commit is contained in:
Jörg Breitbart
2020-01-04 14:47:14 +01:00
parent bd4c2da37c
commit df4b07f9f2
10 changed files with 30 additions and 19 deletions
+3
View File
@@ -17,4 +17,7 @@ import { Unicode11Addon } from 'xterm-addon-unicode11';
const terminal = new Terminal();
const unicode11Addon = new Unicode11Addon();
terminal.loadAddon(unicode11Addon);
// activate the new version
terminal.unicode.activeVersion = '11';
```
@@ -193,7 +193,7 @@ function bisearch(ucs: number, data: number[][]): boolean {
export class UnicodeV11 implements IUnicodeVersionProvider {
public version = '11';
public readonly version = '11';
constructor() {
if (!table) {