@xterm/headless 5.5.0-beta.1 → 5.5.0-beta.11

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.1",
4
+ "version": "5.5.0-beta.11",
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.
@@ -156,7 +173,7 @@ declare module '@xterm/headless' {
156
173
  /**
157
174
  * The amount of scrollback in the terminal. Scrollback is the amount of
158
175
  * rows that are retained when lines are scrolled beyond the initial
159
- * viewport.
176
+ * viewport. Defaults to 1000.
160
177
  */
161
178
  scrollback?: number;
162
179