Files
xterm.js/addons/xterm-addon-unicode-graphemes/README.md
T
2023-10-31 06:18:40 -07:00

23 lines
759 B
Markdown

## xterm-addon-unicode-graphemes
⚠️ **This addon is currently experimental and may introduce unexpected and non-standard behavior**
An addon providing enhanced Unicode support (include grapheme clustering) for xterm.js.
The file `src/UnicodeProperties.ts` is generated and depends on the Unicode version. See [the unicode-properties project](https://github.com/PerBothner/unicode-properties) for credits and re-generation instructions.
### Install
This addon is not yet published to npm
### Usage
```ts
import { Terminal } from 'xterm';
import { UnicodeGraphemesAddon } from 'xterm-addon-unicode-graphemes';
const terminal = new Terminal();
const unicodeGraphemesAddon = new UnicodeGraphemesAddon();
terminal.loadAddon(unicodeGraphemesAddon);
```