@xterm/headless 5.5.0-beta.4 → 5.5.0-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@xterm/headless",
3
3
  "description": "A headless terminal component that runs in Node.js",
4
- "version": "5.5.0-beta.4",
4
+ "version": "5.5.0-beta.6",
5
5
  "main": "lib-headless/xterm-headless.js",
6
6
  "types": "typings/xterm-headless.d.ts",
7
7
  "repository": "https://github.com/xtermjs/xterm.js",
@@ -140,6 +140,23 @@ declare module '@xterm/headless' {
140
140
  */
141
141
  minimumContrastRatio?: number;
142
142
 
143
+ /**
144
+ * Whether to rescale glyphs horizontally that are a single cell wide but
145
+ * have glyphs that would overlap following cell(s). This typically happens
146
+ * for ambiguous width characters (eg. the roman numeral characters U+2160+)
147
+ * which aren't featured in monospace fonts. This is an important feature
148
+ * for achieving GB18030 compliance.
149
+ *
150
+ * The following glyphs will never be rescaled:
151
+ *
152
+ * - Emoji glyphs
153
+ * - Powerline glyphs
154
+ * - Nerd font glyphs
155
+ *
156
+ * Note that this doesn't work with the DOM renderer. The default is false.
157
+ */
158
+ rescaleOverlappingGlyphs?: boolean;
159
+
143
160
  /**
144
161
  * Whether to select the word under the cursor on right click, this is
145
162
  * standard behavior in a lot of macOS applications.