Files
xterm.js/addons/xterm-addon-unicode-graphemes
Per Bothner e5a2ebda0e Provide with "15" and "15-graphemes" UnicodeProviders
Th former doesn't support grapheme clusters, except the old-fashioned
kind of simple modifiers.  However, "15-graphemes" (with full
cluster support) is the default.
2023-08-21 13:03:06 -07:00
..
2023-08-06 11:52:39 -07:00
2023-05-17 18:37:27 -07:00
2023-05-16 18:31:31 -07:00
2023-08-06 08:20:52 -07:00
2023-05-16 18:31:31 -07:00

xterm-addon-unicode-graphemes

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

npm install --save xterm-addon-unicode-graphemes

Usage

import { Terminal } from 'xterm';
import { UnicodeGraphemeAddon } from 'xterm-addon-unicode-graphemes';

const terminal = new Terminal();
const unicodeGraphemeAddon = new UnicodeGraphemeAddon();
terminal.loadAddon(unicodeGraphemeAddon);