Files
xterm.js/addons/addon-unicode-graphemes
Daniel Imms b7988bf00a Upgrade playwright tsconfigs to use ESNext
This ends up outputing the required object destructuring that's needed by
playwright, see microsoft/playwright#8798
2024-07-03 04:31:34 -07:00
..
2023-11-02 08:54:49 -07:00
2023-11-01 10:35:10 -07:00
2024-04-05 06:50:30 -07:00
2023-11-01 10:35:10 -07:00

@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 for credits and re-generation instructions.

Install

This addon is not yet published to npm

Usage

import { Terminal } from '@xterm/xterm';
import { UnicodeGraphemesAddon } from '@xterm/addon-unicode-graphemes';

const terminal = new Terminal();
const unicodeGraphemesAddon = new UnicodeGraphemesAddon();
terminal.loadAddon(unicodeGraphemesAddon);