@codingame/monaco-vscode-xterm-common 25.1.1 → 26.0.0

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.
Files changed (24) hide show
  1. package/package.json +4 -4
  2. package/vscode/src/vs/platform/terminal/common/capabilities/naiveCwdDetectionCapability.js +2 -2
  3. package/vscode/src/vs/platform/terminal/common/environmentVariableCollection.js +20 -16
  4. package/vscode/src/vs/platform/terminal/common/terminalRecorder.js +20 -11
  5. package/vscode/src/vs/workbench/contrib/terminal/browser/environmentVariableInfo.js +15 -21
  6. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalActions.js +386 -301
  7. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalContextMenu.js +11 -2
  8. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIconPicker.js +4 -8
  9. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalInstance.d.ts +0 -4
  10. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalInstance.js +793 -549
  11. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProcessManager.d.ts +1 -1
  12. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProcessManager.js +225 -128
  13. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalResizeDebouncer.js +14 -5
  14. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalStatusList.js +23 -19
  15. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalTabsList.js +174 -126
  16. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalTooltip.js +29 -22
  17. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/lineDataEventAddon.js +3 -1
  18. package/vscode/src/vs/workbench/contrib/terminal/common/terminalEnvironment.js +112 -114
  19. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChat.d.ts +2 -1
  20. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChat.js +16 -15
  21. package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/browser/terminalStickyScrollColorRegistry.js +14 -14
  22. package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/browser/terminalStickyScrollContribution.js +33 -23
  23. package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/browser/terminalStickyScrollOverlay.d.ts +2 -1
  24. package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/browser/terminalStickyScrollOverlay.js +115 -84
@@ -25,9 +25,18 @@ class TerminalContextActionRunner extends ActionRunner {
25
25
  return super.runAction(action, context);
26
26
  }
27
27
  }
28
- function openContextMenu(targetWindow, event, contextInstances, menu, contextMenuService, extraActions) {
28
+ function openContextMenu(
29
+ targetWindow,
30
+ event,
31
+ contextInstances,
32
+ menu,
33
+ contextMenuService,
34
+ extraActions
35
+ ) {
29
36
  const standardEvent = ( new StandardMouseEvent(targetWindow, event));
30
- const actions = getFlatContextMenuActions(menu.getActions({ shouldForwardArgs: true }));
37
+ const actions = getFlatContextMenuActions(menu.getActions({
38
+ shouldForwardArgs: true
39
+ }));
31
40
  if (extraActions) {
32
41
  actions.push(...extraActions);
33
42
  }
@@ -59,11 +59,11 @@ let TerminalIconPicker = class TerminalIconPicker extends Disposable {
59
59
  y: bodyRect.top + this._layoutService.activeContainerOffset.top
60
60
  },
61
61
  position: {
62
- hoverPosition: HoverPosition.BELOW,
62
+ hoverPosition: HoverPosition.BELOW
63
63
  },
64
64
  persistence: {
65
- sticky: true,
66
- },
65
+ sticky: true
66
+ }
67
67
  }, true);
68
68
  if (hoverWidget) {
69
69
  this._register(hoverWidget);
@@ -73,10 +73,6 @@ let TerminalIconPicker = class TerminalIconPicker extends Disposable {
73
73
  }));
74
74
  }
75
75
  };
76
- TerminalIconPicker = ( __decorate([
77
- ( __param(0, IInstantiationService)),
78
- ( __param(1, IHoverService)),
79
- ( __param(2, ILayoutService))
80
- ], TerminalIconPicker));
76
+ TerminalIconPicker = ( __decorate([( __param(0, IInstantiationService)), ( __param(1, IHoverService)), ( __param(2, ILayoutService))], TerminalIconPicker));
81
77
 
82
78
  export { TerminalIconPicker };
@@ -57,14 +57,11 @@ export declare class TerminalInstance extends Disposable implements ITerminalIns
57
57
  private readonly _fileService;
58
58
  private readonly _keybindingService;
59
59
  private readonly _notificationService;
60
- private readonly _preferencesService;
61
60
  private readonly _viewsService;
62
61
  private readonly _themeService;
63
62
  private readonly _configurationService;
64
63
  private readonly _logService;
65
- private readonly _storageService;
66
64
  private readonly _accessibilityService;
67
- private readonly _productService;
68
65
  private readonly _quickInputService;
69
66
  private readonly _workbenchEnvironmentService;
70
67
  private readonly _workspaceContextService;
@@ -130,7 +127,6 @@ export declare class TerminalInstance extends Disposable implements ITerminalIns
130
127
  private _widgetManager;
131
128
  private readonly _dndObserver;
132
129
  private _lastLayoutDimensions;
133
- private _hasHadInput;
134
130
  private _description?;
135
131
  private _processName;
136
132
  private _sequence?;