@xterm/xterm 6.1.0-beta.242 → 6.1.0-beta.244

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/xterm",
3
3
  "description": "Full xterm terminal, in your browser",
4
- "version": "6.1.0-beta.242",
4
+ "version": "6.1.0-beta.244",
5
5
  "main": "lib/xterm.js",
6
6
  "module": "lib/xterm.mjs",
7
7
  "style": "css/xterm.css",
@@ -111,5 +111,5 @@
111
111
  "ws": "^8.2.3",
112
112
  "xterm-benchmark": "^0.3.1"
113
113
  },
114
- "commit": "7dc820f5fae335504e33647224635f9b22b7aa2c"
114
+ "commit": "2c3fad39af916260c5349b08d385fab048a32482"
115
115
  }
@@ -263,7 +263,7 @@ export abstract class CoreTerminal extends Disposable implements ICoreTerminal {
263
263
  private _handleWindowsPtyOptionChange(): void {
264
264
  let value = false;
265
265
  const windowsPty = this.optionsService.rawOptions.windowsPty;
266
- if (windowsPty && windowsPty.buildNumber !== undefined && windowsPty.buildNumber !== undefined) {
266
+ if (windowsPty && windowsPty.backend !== undefined && windowsPty.buildNumber !== undefined) {
267
267
  value = !!(windowsPty.backend === 'conpty' && windowsPty.buildNumber < 21376);
268
268
  }
269
269
  if (value) {
@@ -567,8 +567,9 @@ export class InputHandler extends Disposable implements IInputHandler {
567
567
  if (screenReaderMode) {
568
568
  this._onA11yChar.fire(stringFromCodePoint(code));
569
569
  }
570
- if (this._getCurrentLinkId()) {
571
- this._oscLinkService.addLineToLink(this._getCurrentLinkId(), this._activeBuffer.ybase + this._activeBuffer.y);
570
+ const linkId = this._getCurrentLinkId();
571
+ if (linkId) {
572
+ this._oscLinkService.addLineToLink(linkId, this._activeBuffer.ybase + this._activeBuffer.y);
572
573
  }
573
574
 
574
575
  // goto next line if ch would overflow
@@ -6,4 +6,4 @@
6
6
  /**
7
7
  * The xterm.js version. This is updated by the publish script from package.json.
8
8
  */
9
- export const XTERM_VERSION = '6.1.0-beta.242';
9
+ export const XTERM_VERSION = '6.1.0-beta.244';