Files
xterm.js/addons/xterm-addon-unicode-graphemes
2023-10-18 01:09:39 +08:00
..
2023-10-18 01:09:39 +08:00
2023-10-18 01:09:39 +08:00
2023-09-07 09:49:37 -07:00
2023-09-16 08:04:32 +00:00
2023-05-16 18:31:31 -07:00
2023-08-06 08:20:52 -07:00
2023-09-12 09:02:15 -07:00
2023-09-16 08:09:22 +00:00
2023-05-16 18:31:31 -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

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

Usage

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

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