mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
New unicode-graphemes addon.
Handle grapheme cluster lookup as well as wcwidth. This is based on Unicode 15, and could replace the unicode11 addon.
This commit is contained in:
Vendored
+1
@@ -1144,6 +1144,7 @@ declare module 'xterm-headless' {
|
||||
* Unicode version dependent wcwidth implementation.
|
||||
*/
|
||||
wcwidth(codepoint: number): 0 | 1 | 2;
|
||||
charProperties(codepoint: number, preceding: number): number;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Vendored
+1
@@ -1674,6 +1674,7 @@ declare module 'xterm' {
|
||||
* Unicode version dependent wcwidth implementation.
|
||||
*/
|
||||
wcwidth(codepoint: number): 0 | 1 | 2;
|
||||
charProperties(codepoint: number, preceding: number): number;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user