@xterm/headless 6.1.0-beta.254 → 6.1.0-beta.255

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": "6.1.0-beta.254",
4
+ "version": "6.1.0-beta.255",
5
5
  "main": "lib-headless/xterm-headless.js",
6
6
  "module": "lib/xterm.mjs",
7
7
  "types": "typings/xterm-headless.d.ts",
@@ -25,5 +25,5 @@
25
25
  "webgl",
26
26
  "xterm"
27
27
  ],
28
- "commit": "00e54532b3b1b131bac8400deddb725b654c106d"
28
+ "commit": "4bb9c06b5fe7ed1eb6e4512a81637c82b2d176f6"
29
29
  }
@@ -136,6 +136,17 @@ declare module '@xterm/headless' {
136
136
  */
137
137
  minimumContrastRatio?: number;
138
138
 
139
+ /**
140
+ * When enabled and the terminal is in mouse events mode, mouse click, drag,
141
+ * and move events are only sent to the underlying application when the alt
142
+ * key is held. The alt key is not included in the mouse reports sent to the
143
+ * application. Wheel events are not affected. This allows normal text
144
+ * selection by default while still supporting application mouse interaction
145
+ * and scrolling when holding alt. When enabled, this takes precedence over
146
+ * `macOptionClickForcesSelection`.
147
+ */
148
+ mouseEventsRequireAlt?: boolean;
149
+
139
150
  /**
140
151
  * Whether to reflow the line containing the cursor when the terminal is
141
152
  * resized. Defaults to false, because shells usually handle this