@xterm/headless 5.5.0-beta.3 → 5.5.0-beta.5

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.3",
4
+ "version": "5.5.0-beta.5",
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,17 @@ 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. Emoji glyphs are never
148
+ * rescaled. This is an important feature for achieving GB18030 compliance.
149
+ *
150
+ * Note that this doesn't work with the DOM renderer. The default is false.
151
+ */
152
+ rescaleOverlappingGlyphs?: boolean;
153
+
143
154
  /**
144
155
  * Whether to select the word under the cursor on right click, this is
145
156
  * standard behavior in a lot of macOS applications.
@@ -156,7 +167,7 @@ declare module '@xterm/headless' {
156
167
  /**
157
168
  * The amount of scrollback in the terminal. Scrollback is the amount of
158
169
  * rows that are retained when lines are scrolled beyond the initial
159
- * viewport.
170
+ * viewport. Defaults to 1000.
160
171
  */
161
172
  scrollback?: number;
162
173