@theia/terminal 1.45.1 → 1.46.0-next.72
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/README.md +30 -30
- package/lib/browser/base/terminal-service.d.ts +34 -34
- package/lib/browser/base/terminal-service.js +7 -7
- package/lib/browser/base/terminal-widget.d.ts +192 -192
- package/lib/browser/base/terminal-widget.js +34 -34
- package/lib/browser/index.d.ts +1 -1
- package/lib/browser/index.js +28 -28
- package/lib/browser/search/terminal-search-container.d.ts +3 -3
- package/lib/browser/search/terminal-search-container.js +28 -28
- package/lib/browser/search/terminal-search-widget.d.ts +30 -30
- package/lib/browser/search/terminal-search-widget.js +147 -147
- package/lib/browser/shell-terminal-profile.d.ts +20 -20
- package/lib/browser/shell-terminal-profile.js +42 -42
- package/lib/browser/terminal-contribution.d.ts +3 -3
- package/lib/browser/terminal-contribution.js +20 -20
- package/lib/browser/terminal-copy-on-selection-handler.d.ts +10 -10
- package/lib/browser/terminal-copy-on-selection-handler.js +103 -103
- package/lib/browser/terminal-file-link-provider.d.ts +24 -24
- package/lib/browser/terminal-file-link-provider.js +200 -200
- package/lib/browser/terminal-frontend-contribution.d.ts +115 -115
- package/lib/browser/terminal-frontend-contribution.d.ts.map +1 -1
- package/lib/browser/terminal-frontend-contribution.js +1078 -1056
- package/lib/browser/terminal-frontend-contribution.js.map +1 -1
- package/lib/browser/terminal-frontend-module.d.ts +5 -5
- package/lib/browser/terminal-frontend-module.js +117 -117
- package/lib/browser/terminal-link-helpers.d.ts +27 -27
- package/lib/browser/terminal-link-helpers.js +155 -155
- package/lib/browser/terminal-link-provider.d.ts +51 -51
- package/lib/browser/terminal-link-provider.js +197 -197
- package/lib/browser/terminal-preferences.d.ts +61 -61
- package/lib/browser/terminal-preferences.d.ts.map +1 -1
- package/lib/browser/terminal-preferences.js +357 -356
- package/lib/browser/terminal-preferences.js.map +1 -1
- package/lib/browser/terminal-profile-service.d.ts +58 -58
- package/lib/browser/terminal-profile-service.js +158 -158
- package/lib/browser/terminal-quick-open-service.d.ts +36 -36
- package/lib/browser/terminal-quick-open-service.js +137 -137
- package/lib/browser/terminal-theme-service.d.ts +21 -21
- package/lib/browser/terminal-theme-service.d.ts.map +1 -1
- package/lib/browser/terminal-theme-service.js +222 -218
- package/lib/browser/terminal-theme-service.js.map +1 -1
- package/lib/browser/terminal-url-link-provider.d.ts +11 -11
- package/lib/browser/terminal-url-link-provider.js +76 -76
- package/lib/browser/terminal-widget-impl.d.ts +180 -187
- package/lib/browser/terminal-widget-impl.d.ts.map +1 -1
- package/lib/browser/terminal-widget-impl.js +857 -867
- package/lib/browser/terminal-widget-impl.js.map +1 -1
- package/lib/common/base-terminal-protocol.d.ts +55 -55
- package/lib/common/base-terminal-protocol.js +84 -84
- package/lib/common/shell-terminal-protocol.d.ts +66 -66
- package/lib/common/shell-terminal-protocol.js +35 -35
- package/lib/common/terminal-common-module.d.ts +7 -7
- package/lib/common/terminal-common-module.js +31 -31
- package/lib/common/terminal-protocol.d.ts +12 -12
- package/lib/common/terminal-protocol.js +21 -21
- package/lib/common/terminal-watcher.d.ts +13 -13
- package/lib/common/terminal-watcher.js +70 -70
- package/lib/node/base-terminal-server.d.ts +24 -24
- package/lib/node/base-terminal-server.js +168 -168
- package/lib/node/buffering-stream.d.ts +39 -39
- package/lib/node/buffering-stream.js +75 -75
- package/lib/node/buffering-stream.spec.d.ts +1 -1
- package/lib/node/buffering-stream.spec.js +43 -43
- package/lib/node/index.d.ts +1 -1
- package/lib/node/index.js +28 -28
- package/lib/node/shell-process.d.ts +27 -27
- package/lib/node/shell-process.js +107 -107
- package/lib/node/shell-process.js.map +1 -1
- package/lib/node/shell-terminal-server.d.ts +30 -30
- package/lib/node/shell-terminal-server.js +212 -212
- package/lib/node/shell-terminal-server.spec.d.ts +1 -1
- package/lib/node/shell-terminal-server.spec.js +35 -35
- package/lib/node/terminal-backend-contribution.d.ts +9 -9
- package/lib/node/terminal-backend-contribution.js +75 -75
- package/lib/node/terminal-backend-contribution.slow-spec.d.ts +1 -1
- package/lib/node/terminal-backend-contribution.slow-spec.js +54 -54
- package/lib/node/terminal-backend-module.d.ts +11 -11
- package/lib/node/terminal-backend-module.js +69 -69
- package/lib/node/terminal-server.d.ts +9 -9
- package/lib/node/terminal-server.js +64 -64
- package/lib/node/terminal-server.spec.d.ts +1 -1
- package/lib/node/terminal-server.spec.js +41 -41
- package/lib/node/test/terminal-test-container.d.ts +2 -2
- package/lib/node/test/terminal-test-container.js +40 -40
- package/lib/package.spec.js +25 -25
- package/package.json +12 -12
- package/src/browser/base/terminal-service.ts +60 -60
- package/src/browser/base/terminal-widget.ts +254 -254
- package/src/browser/index.ts +17 -17
- package/src/browser/search/terminal-search-container.ts +28 -28
- package/src/browser/search/terminal-search-widget.tsx +161 -161
- package/src/browser/shell-terminal-profile.ts +45 -45
- package/src/browser/style/terminal-search.css +99 -99
- package/src/browser/style/terminal.css +32 -32
- package/src/browser/terminal-contribution.ts +19 -19
- package/src/browser/terminal-copy-on-selection-handler.ts +92 -92
- package/src/browser/terminal-file-link-provider.ts +200 -200
- package/src/browser/terminal-frontend-contribution.ts +1120 -1098
- package/src/browser/terminal-frontend-module.ts +136 -136
- package/src/browser/terminal-link-helpers.ts +187 -187
- package/src/browser/terminal-link-provider.ts +203 -203
- package/src/browser/terminal-preferences.ts +428 -427
- package/src/browser/terminal-profile-service.ts +180 -180
- package/src/browser/terminal-quick-open-service.ts +132 -132
- package/src/browser/terminal-theme-service.ts +213 -209
- package/src/browser/terminal-url-link-provider.ts +66 -66
- package/src/browser/terminal-widget-impl.ts +939 -936
- package/src/common/base-terminal-protocol.ts +125 -125
- package/src/common/shell-terminal-protocol.ts +103 -103
- package/src/common/terminal-common-module.ts +30 -30
- package/src/common/terminal-protocol.ts +32 -32
- package/src/common/terminal-watcher.ts +69 -69
- package/src/node/base-terminal-server.ts +173 -173
- package/src/node/buffering-stream.spec.ts +46 -46
- package/src/node/buffering-stream.ts +95 -95
- package/src/node/index.ts +17 -17
- package/src/node/shell-process.ts +101 -101
- package/src/node/shell-terminal-server.spec.ts +40 -40
- package/src/node/shell-terminal-server.ts +221 -221
- package/src/node/terminal-backend-contribution.slow-spec.ts +63 -63
- package/src/node/terminal-backend-contribution.ts +60 -60
- package/src/node/terminal-backend-module.ts +82 -82
- package/src/node/terminal-server.spec.ts +47 -47
- package/src/node/terminal-server.ts +52 -52
- package/src/node/test/terminal-test-container.ts +39 -39
- package/src/package.spec.ts +28 -28
package/lib/browser/index.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *****************************************************************************
|
|
3
|
-
// Copyright (C) 2017 TypeFox and others.
|
|
4
|
-
//
|
|
5
|
-
// This program and the accompanying materials are made available under the
|
|
6
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
-
//
|
|
9
|
-
// This Source Code may also be made available under the following Secondary
|
|
10
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
-
// with the GNU Classpath Exception which is available at
|
|
13
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
-
//
|
|
15
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
|
-
// *****************************************************************************
|
|
17
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
-
if (k2 === undefined) k2 = k;
|
|
19
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
20
|
-
}) : (function(o, m, k, k2) {
|
|
21
|
-
if (k2 === undefined) k2 = k;
|
|
22
|
-
o[k2] = m[k];
|
|
23
|
-
}));
|
|
24
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
25
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
26
|
-
};
|
|
27
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
__exportStar(require("./terminal-frontend-module"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
// *****************************************************************************
|
|
3
|
+
// Copyright (C) 2017 TypeFox and others.
|
|
4
|
+
//
|
|
5
|
+
// This program and the accompanying materials are made available under the
|
|
6
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
+
//
|
|
9
|
+
// This Source Code may also be made available under the following Secondary
|
|
10
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
+
// with the GNU Classpath Exception which is available at
|
|
13
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
+
//
|
|
15
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
|
+
// *****************************************************************************
|
|
17
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
25
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
__exportStar(require("./terminal-frontend-module"), exports);
|
|
29
29
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { interfaces } from '@theia/core/shared/inversify';
|
|
2
|
-
import { TerminalSearchWidgetFactory } from './terminal-search-widget';
|
|
3
|
-
export declare function createTerminalSearchFactory(container: interfaces.Container): TerminalSearchWidgetFactory;
|
|
1
|
+
import { interfaces } from '@theia/core/shared/inversify';
|
|
2
|
+
import { TerminalSearchWidgetFactory } from './terminal-search-widget';
|
|
3
|
+
export declare function createTerminalSearchFactory(container: interfaces.Container): TerminalSearchWidgetFactory;
|
|
4
4
|
//# sourceMappingURL=terminal-search-container.d.ts.map
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *****************************************************************************
|
|
3
|
-
// Copyright (C) 2019 Red Hat, Inc. and others.
|
|
4
|
-
//
|
|
5
|
-
// This program and the accompanying materials are made available under the
|
|
6
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
-
//
|
|
9
|
-
// This Source Code may also be made available under the following Secondary
|
|
10
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
-
// with the GNU Classpath Exception which is available at
|
|
13
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
-
//
|
|
15
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
|
-
// *****************************************************************************
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.createTerminalSearchFactory = void 0;
|
|
19
|
-
const terminal_search_widget_1 = require("./terminal-search-widget");
|
|
20
|
-
const xterm_1 = require("xterm");
|
|
21
|
-
function createTerminalSearchFactory(container) {
|
|
22
|
-
container.bind(terminal_search_widget_1.TerminalSearchWidget).toSelf().inSingletonScope();
|
|
23
|
-
return (terminal) => {
|
|
24
|
-
container.bind(xterm_1.Terminal).toConstantValue(terminal);
|
|
25
|
-
return container.get(terminal_search_widget_1.TerminalSearchWidget);
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
exports.createTerminalSearchFactory = createTerminalSearchFactory;
|
|
1
|
+
"use strict";
|
|
2
|
+
// *****************************************************************************
|
|
3
|
+
// Copyright (C) 2019 Red Hat, Inc. and others.
|
|
4
|
+
//
|
|
5
|
+
// This program and the accompanying materials are made available under the
|
|
6
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
+
//
|
|
9
|
+
// This Source Code may also be made available under the following Secondary
|
|
10
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
+
// with the GNU Classpath Exception which is available at
|
|
13
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
+
//
|
|
15
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
|
+
// *****************************************************************************
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.createTerminalSearchFactory = void 0;
|
|
19
|
+
const terminal_search_widget_1 = require("./terminal-search-widget");
|
|
20
|
+
const xterm_1 = require("xterm");
|
|
21
|
+
function createTerminalSearchFactory(container) {
|
|
22
|
+
container.bind(terminal_search_widget_1.TerminalSearchWidget).toSelf().inSingletonScope();
|
|
23
|
+
return (terminal) => {
|
|
24
|
+
container.bind(xterm_1.Terminal).toConstantValue(terminal);
|
|
25
|
+
return container.get(terminal_search_widget_1.TerminalSearchWidget);
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
exports.createTerminalSearchFactory = createTerminalSearchFactory;
|
|
29
29
|
//# sourceMappingURL=terminal-search-container.js.map
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ReactWidget } from '@theia/core/lib/browser/widgets/react-widget';
|
|
3
|
-
import * as React from '@theia/core/shared/react';
|
|
4
|
-
import '../../../src/browser/style/terminal-search.css';
|
|
5
|
-
import { Terminal } from 'xterm';
|
|
6
|
-
export declare const TERMINAL_SEARCH_WIDGET_FACTORY_ID = "terminal-search";
|
|
7
|
-
export declare const TerminalSearchWidgetFactory: unique symbol;
|
|
8
|
-
export declare type TerminalSearchWidgetFactory = (terminal: Terminal) => TerminalSearchWidget;
|
|
9
|
-
export declare class TerminalSearchWidget extends ReactWidget {
|
|
10
|
-
private searchInput;
|
|
11
|
-
private searchBox;
|
|
12
|
-
private searchOptions;
|
|
13
|
-
private searchAddon;
|
|
14
|
-
protected terminal: Terminal;
|
|
15
|
-
protected init(): void;
|
|
16
|
-
protected render(): React.ReactNode;
|
|
17
|
-
onSearchInputFocus: () => void;
|
|
18
|
-
onSearchInputBlur: () => void;
|
|
19
|
-
private handleHide;
|
|
20
|
-
private handleCaseSensitiveOptionClicked;
|
|
21
|
-
private handleWholeWordOptionClicked;
|
|
22
|
-
private handleRegexOptionClicked;
|
|
23
|
-
private updateSearchInputBox;
|
|
24
|
-
private onInputChanged;
|
|
25
|
-
search(incremental: boolean, searchDirection: 'next' | 'previous'): void;
|
|
26
|
-
private handleNextButtonClicked;
|
|
27
|
-
private handlePreviousButtonClicked;
|
|
28
|
-
onAfterHide(): void;
|
|
29
|
-
onAfterShow(): void;
|
|
30
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ReactWidget } from '@theia/core/lib/browser/widgets/react-widget';
|
|
3
|
+
import * as React from '@theia/core/shared/react';
|
|
4
|
+
import '../../../src/browser/style/terminal-search.css';
|
|
5
|
+
import { Terminal } from 'xterm';
|
|
6
|
+
export declare const TERMINAL_SEARCH_WIDGET_FACTORY_ID = "terminal-search";
|
|
7
|
+
export declare const TerminalSearchWidgetFactory: unique symbol;
|
|
8
|
+
export declare type TerminalSearchWidgetFactory = (terminal: Terminal) => TerminalSearchWidget;
|
|
9
|
+
export declare class TerminalSearchWidget extends ReactWidget {
|
|
10
|
+
private searchInput;
|
|
11
|
+
private searchBox;
|
|
12
|
+
private searchOptions;
|
|
13
|
+
private searchAddon;
|
|
14
|
+
protected terminal: Terminal;
|
|
15
|
+
protected init(): void;
|
|
16
|
+
protected render(): React.ReactNode;
|
|
17
|
+
onSearchInputFocus: () => void;
|
|
18
|
+
onSearchInputBlur: () => void;
|
|
19
|
+
private handleHide;
|
|
20
|
+
private handleCaseSensitiveOptionClicked;
|
|
21
|
+
private handleWholeWordOptionClicked;
|
|
22
|
+
private handleRegexOptionClicked;
|
|
23
|
+
private updateSearchInputBox;
|
|
24
|
+
private onInputChanged;
|
|
25
|
+
search(incremental: boolean, searchDirection: 'next' | 'previous'): void;
|
|
26
|
+
private handleNextButtonClicked;
|
|
27
|
+
private handlePreviousButtonClicked;
|
|
28
|
+
onAfterHide(): void;
|
|
29
|
+
onAfterShow(): void;
|
|
30
|
+
}
|
|
31
31
|
//# sourceMappingURL=terminal-search-widget.d.ts.map
|
|
@@ -1,148 +1,148 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *****************************************************************************
|
|
3
|
-
// Copyright (C) 2019 Red Hat, Inc. and others.
|
|
4
|
-
//
|
|
5
|
-
// This program and the accompanying materials are made available under the
|
|
6
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
-
//
|
|
9
|
-
// This Source Code may also be made available under the following Secondary
|
|
10
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
-
// with the GNU Classpath Exception which is available at
|
|
13
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
-
//
|
|
15
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
|
-
// *****************************************************************************
|
|
17
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
21
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22
|
-
};
|
|
23
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
24
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
25
|
-
};
|
|
26
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
-
exports.TerminalSearchWidget = exports.TerminalSearchWidgetFactory = exports.TERMINAL_SEARCH_WIDGET_FACTORY_ID = void 0;
|
|
28
|
-
const inversify_1 = require("@theia/core/shared/inversify");
|
|
29
|
-
const react_widget_1 = require("@theia/core/lib/browser/widgets/react-widget");
|
|
30
|
-
const React = require("@theia/core/shared/react");
|
|
31
|
-
require("../../../src/browser/style/terminal-search.css");
|
|
32
|
-
const xterm_1 = require("xterm");
|
|
33
|
-
const xterm_addon_search_1 = require("xterm-addon-search");
|
|
34
|
-
const browser_1 = require("@theia/core/lib/browser");
|
|
35
|
-
exports.TERMINAL_SEARCH_WIDGET_FACTORY_ID = 'terminal-search';
|
|
36
|
-
exports.TerminalSearchWidgetFactory = Symbol('TerminalSearchWidgetFactory');
|
|
37
|
-
let TerminalSearchWidget = class TerminalSearchWidget extends react_widget_1.ReactWidget {
|
|
38
|
-
constructor() {
|
|
39
|
-
super(...arguments);
|
|
40
|
-
this.searchOptions = {};
|
|
41
|
-
this.onSearchInputFocus = () => {
|
|
42
|
-
if (this.searchBox) {
|
|
43
|
-
this.searchBox.classList.add('focused');
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
this.onSearchInputBlur = () => {
|
|
47
|
-
if (this.searchBox) {
|
|
48
|
-
this.searchBox.classList.remove('focused');
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
this.handleHide = () => {
|
|
52
|
-
this.hide();
|
|
53
|
-
};
|
|
54
|
-
this.handleCaseSensitiveOptionClicked = (event) => {
|
|
55
|
-
this.searchOptions.caseSensitive = !this.searchOptions.caseSensitive;
|
|
56
|
-
this.updateSearchInputBox(this.searchOptions.caseSensitive, event.currentTarget);
|
|
57
|
-
};
|
|
58
|
-
this.handleWholeWordOptionClicked = (event) => {
|
|
59
|
-
this.searchOptions.wholeWord = !this.searchOptions.wholeWord;
|
|
60
|
-
this.updateSearchInputBox(this.searchOptions.wholeWord, event.currentTarget);
|
|
61
|
-
};
|
|
62
|
-
this.handleRegexOptionClicked = (event) => {
|
|
63
|
-
this.searchOptions.regex = !this.searchOptions.regex;
|
|
64
|
-
this.updateSearchInputBox(this.searchOptions.regex, event.currentTarget);
|
|
65
|
-
};
|
|
66
|
-
this.onInputChanged = (event) => {
|
|
67
|
-
// move to previous search result on `Shift + Enter`
|
|
68
|
-
if (event && event.shiftKey && event.keyCode === browser_1.Key.ENTER.keyCode) {
|
|
69
|
-
this.search(false, 'previous');
|
|
70
|
-
return;
|
|
71
|
-
}
|
|
72
|
-
// move to next search result on `Enter`
|
|
73
|
-
if (event && event.keyCode === browser_1.Key.ENTER.keyCode) {
|
|
74
|
-
this.search(false, 'next');
|
|
75
|
-
return;
|
|
76
|
-
}
|
|
77
|
-
this.search(true, 'next');
|
|
78
|
-
};
|
|
79
|
-
this.handleNextButtonClicked = () => {
|
|
80
|
-
this.search(false, 'next');
|
|
81
|
-
};
|
|
82
|
-
this.handlePreviousButtonClicked = () => {
|
|
83
|
-
this.search(false, 'previous');
|
|
84
|
-
};
|
|
85
|
-
}
|
|
86
|
-
init() {
|
|
87
|
-
this.node.classList.add('theia-search-terminal-widget-parent');
|
|
88
|
-
this.searchAddon = new xterm_addon_search_1.SearchAddon();
|
|
89
|
-
this.terminal.loadAddon(this.searchAddon);
|
|
90
|
-
this.hide();
|
|
91
|
-
this.update();
|
|
92
|
-
}
|
|
93
|
-
render() {
|
|
94
|
-
return React.createElement("div", { className: 'theia-search-terminal-widget' },
|
|
95
|
-
React.createElement("div", { className: 'theia-search-elem-box', ref: searchBox => this.searchBox = searchBox },
|
|
96
|
-
React.createElement("input", { title: 'Find', type: 'text', spellCheck: 'false', placeholder: 'Find', ref: ip => this.searchInput = ip, onKeyUp: this.onInputChanged, onFocus: this.onSearchInputFocus, onBlur: this.onSearchInputBlur }),
|
|
97
|
-
React.createElement("div", { title: 'Match case', tabIndex: 0, className: 'search-elem ' + (0, browser_1.codicon)('case-sensitive'), onClick: this.handleCaseSensitiveOptionClicked }),
|
|
98
|
-
React.createElement("div", { title: 'Match whole word', tabIndex: 0, className: 'search-elem ' + (0, browser_1.codicon)('whole-word'), onClick: this.handleWholeWordOptionClicked }),
|
|
99
|
-
React.createElement("div", { title: 'Use regular expression', tabIndex: 0, className: 'search-elem ' + (0, browser_1.codicon)('regex'), onClick: this.handleRegexOptionClicked })),
|
|
100
|
-
React.createElement("button", { title: 'Previous match', className: 'search-elem ' + (0, browser_1.codicon)('arrow-up'), onClick: this.handlePreviousButtonClicked }),
|
|
101
|
-
React.createElement("button", { title: 'Next match', className: 'search-elem ' + (0, browser_1.codicon)('arrow-down'), onClick: this.handleNextButtonClicked }),
|
|
102
|
-
React.createElement("button", { title: 'Close', className: 'search-elem ' + (0, browser_1.codicon)('close'), onClick: this.handleHide }));
|
|
103
|
-
}
|
|
104
|
-
updateSearchInputBox(enable, optionElement) {
|
|
105
|
-
if (enable) {
|
|
106
|
-
optionElement.classList.add('option-enabled');
|
|
107
|
-
}
|
|
108
|
-
else {
|
|
109
|
-
optionElement.classList.remove('option-enabled');
|
|
110
|
-
}
|
|
111
|
-
this.searchInput.focus();
|
|
112
|
-
}
|
|
113
|
-
search(incremental, searchDirection) {
|
|
114
|
-
if (this.searchInput) {
|
|
115
|
-
this.searchOptions.incremental = incremental;
|
|
116
|
-
const searchText = this.searchInput.value;
|
|
117
|
-
if (searchDirection === 'next') {
|
|
118
|
-
this.searchAddon.findNext(searchText, this.searchOptions);
|
|
119
|
-
}
|
|
120
|
-
if (searchDirection === 'previous') {
|
|
121
|
-
this.searchAddon.findPrevious(searchText, this.searchOptions);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
onAfterHide() {
|
|
126
|
-
this.terminal.focus();
|
|
127
|
-
}
|
|
128
|
-
onAfterShow() {
|
|
129
|
-
if (this.searchInput) {
|
|
130
|
-
this.searchInput.select();
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
};
|
|
134
|
-
__decorate([
|
|
135
|
-
(0, inversify_1.inject)(xterm_1.Terminal),
|
|
136
|
-
__metadata("design:type", xterm_1.Terminal)
|
|
137
|
-
], TerminalSearchWidget.prototype, "terminal", void 0);
|
|
138
|
-
__decorate([
|
|
139
|
-
(0, inversify_1.postConstruct)(),
|
|
140
|
-
__metadata("design:type", Function),
|
|
141
|
-
__metadata("design:paramtypes", []),
|
|
142
|
-
__metadata("design:returntype", void 0)
|
|
143
|
-
], TerminalSearchWidget.prototype, "init", null);
|
|
144
|
-
TerminalSearchWidget = __decorate([
|
|
145
|
-
(0, inversify_1.injectable)()
|
|
146
|
-
], TerminalSearchWidget);
|
|
147
|
-
exports.TerminalSearchWidget = TerminalSearchWidget;
|
|
1
|
+
"use strict";
|
|
2
|
+
// *****************************************************************************
|
|
3
|
+
// Copyright (C) 2019 Red Hat, Inc. and others.
|
|
4
|
+
//
|
|
5
|
+
// This program and the accompanying materials are made available under the
|
|
6
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
+
//
|
|
9
|
+
// This Source Code may also be made available under the following Secondary
|
|
10
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
+
// with the GNU Classpath Exception which is available at
|
|
13
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
+
//
|
|
15
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
|
+
// *****************************************************************************
|
|
17
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
21
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22
|
+
};
|
|
23
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
24
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.TerminalSearchWidget = exports.TerminalSearchWidgetFactory = exports.TERMINAL_SEARCH_WIDGET_FACTORY_ID = void 0;
|
|
28
|
+
const inversify_1 = require("@theia/core/shared/inversify");
|
|
29
|
+
const react_widget_1 = require("@theia/core/lib/browser/widgets/react-widget");
|
|
30
|
+
const React = require("@theia/core/shared/react");
|
|
31
|
+
require("../../../src/browser/style/terminal-search.css");
|
|
32
|
+
const xterm_1 = require("xterm");
|
|
33
|
+
const xterm_addon_search_1 = require("xterm-addon-search");
|
|
34
|
+
const browser_1 = require("@theia/core/lib/browser");
|
|
35
|
+
exports.TERMINAL_SEARCH_WIDGET_FACTORY_ID = 'terminal-search';
|
|
36
|
+
exports.TerminalSearchWidgetFactory = Symbol('TerminalSearchWidgetFactory');
|
|
37
|
+
let TerminalSearchWidget = class TerminalSearchWidget extends react_widget_1.ReactWidget {
|
|
38
|
+
constructor() {
|
|
39
|
+
super(...arguments);
|
|
40
|
+
this.searchOptions = {};
|
|
41
|
+
this.onSearchInputFocus = () => {
|
|
42
|
+
if (this.searchBox) {
|
|
43
|
+
this.searchBox.classList.add('focused');
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
this.onSearchInputBlur = () => {
|
|
47
|
+
if (this.searchBox) {
|
|
48
|
+
this.searchBox.classList.remove('focused');
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
this.handleHide = () => {
|
|
52
|
+
this.hide();
|
|
53
|
+
};
|
|
54
|
+
this.handleCaseSensitiveOptionClicked = (event) => {
|
|
55
|
+
this.searchOptions.caseSensitive = !this.searchOptions.caseSensitive;
|
|
56
|
+
this.updateSearchInputBox(this.searchOptions.caseSensitive, event.currentTarget);
|
|
57
|
+
};
|
|
58
|
+
this.handleWholeWordOptionClicked = (event) => {
|
|
59
|
+
this.searchOptions.wholeWord = !this.searchOptions.wholeWord;
|
|
60
|
+
this.updateSearchInputBox(this.searchOptions.wholeWord, event.currentTarget);
|
|
61
|
+
};
|
|
62
|
+
this.handleRegexOptionClicked = (event) => {
|
|
63
|
+
this.searchOptions.regex = !this.searchOptions.regex;
|
|
64
|
+
this.updateSearchInputBox(this.searchOptions.regex, event.currentTarget);
|
|
65
|
+
};
|
|
66
|
+
this.onInputChanged = (event) => {
|
|
67
|
+
// move to previous search result on `Shift + Enter`
|
|
68
|
+
if (event && event.shiftKey && event.keyCode === browser_1.Key.ENTER.keyCode) {
|
|
69
|
+
this.search(false, 'previous');
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
// move to next search result on `Enter`
|
|
73
|
+
if (event && event.keyCode === browser_1.Key.ENTER.keyCode) {
|
|
74
|
+
this.search(false, 'next');
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
this.search(true, 'next');
|
|
78
|
+
};
|
|
79
|
+
this.handleNextButtonClicked = () => {
|
|
80
|
+
this.search(false, 'next');
|
|
81
|
+
};
|
|
82
|
+
this.handlePreviousButtonClicked = () => {
|
|
83
|
+
this.search(false, 'previous');
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
init() {
|
|
87
|
+
this.node.classList.add('theia-search-terminal-widget-parent');
|
|
88
|
+
this.searchAddon = new xterm_addon_search_1.SearchAddon();
|
|
89
|
+
this.terminal.loadAddon(this.searchAddon);
|
|
90
|
+
this.hide();
|
|
91
|
+
this.update();
|
|
92
|
+
}
|
|
93
|
+
render() {
|
|
94
|
+
return React.createElement("div", { className: 'theia-search-terminal-widget' },
|
|
95
|
+
React.createElement("div", { className: 'theia-search-elem-box', ref: searchBox => this.searchBox = searchBox },
|
|
96
|
+
React.createElement("input", { title: 'Find', type: 'text', spellCheck: 'false', placeholder: 'Find', ref: ip => this.searchInput = ip, onKeyUp: this.onInputChanged, onFocus: this.onSearchInputFocus, onBlur: this.onSearchInputBlur }),
|
|
97
|
+
React.createElement("div", { title: 'Match case', tabIndex: 0, className: 'search-elem ' + (0, browser_1.codicon)('case-sensitive'), onClick: this.handleCaseSensitiveOptionClicked }),
|
|
98
|
+
React.createElement("div", { title: 'Match whole word', tabIndex: 0, className: 'search-elem ' + (0, browser_1.codicon)('whole-word'), onClick: this.handleWholeWordOptionClicked }),
|
|
99
|
+
React.createElement("div", { title: 'Use regular expression', tabIndex: 0, className: 'search-elem ' + (0, browser_1.codicon)('regex'), onClick: this.handleRegexOptionClicked })),
|
|
100
|
+
React.createElement("button", { title: 'Previous match', className: 'search-elem ' + (0, browser_1.codicon)('arrow-up'), onClick: this.handlePreviousButtonClicked }),
|
|
101
|
+
React.createElement("button", { title: 'Next match', className: 'search-elem ' + (0, browser_1.codicon)('arrow-down'), onClick: this.handleNextButtonClicked }),
|
|
102
|
+
React.createElement("button", { title: 'Close', className: 'search-elem ' + (0, browser_1.codicon)('close'), onClick: this.handleHide }));
|
|
103
|
+
}
|
|
104
|
+
updateSearchInputBox(enable, optionElement) {
|
|
105
|
+
if (enable) {
|
|
106
|
+
optionElement.classList.add('option-enabled');
|
|
107
|
+
}
|
|
108
|
+
else {
|
|
109
|
+
optionElement.classList.remove('option-enabled');
|
|
110
|
+
}
|
|
111
|
+
this.searchInput.focus();
|
|
112
|
+
}
|
|
113
|
+
search(incremental, searchDirection) {
|
|
114
|
+
if (this.searchInput) {
|
|
115
|
+
this.searchOptions.incremental = incremental;
|
|
116
|
+
const searchText = this.searchInput.value;
|
|
117
|
+
if (searchDirection === 'next') {
|
|
118
|
+
this.searchAddon.findNext(searchText, this.searchOptions);
|
|
119
|
+
}
|
|
120
|
+
if (searchDirection === 'previous') {
|
|
121
|
+
this.searchAddon.findPrevious(searchText, this.searchOptions);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
onAfterHide() {
|
|
126
|
+
this.terminal.focus();
|
|
127
|
+
}
|
|
128
|
+
onAfterShow() {
|
|
129
|
+
if (this.searchInput) {
|
|
130
|
+
this.searchInput.select();
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
};
|
|
134
|
+
__decorate([
|
|
135
|
+
(0, inversify_1.inject)(xterm_1.Terminal),
|
|
136
|
+
__metadata("design:type", xterm_1.Terminal)
|
|
137
|
+
], TerminalSearchWidget.prototype, "terminal", void 0);
|
|
138
|
+
__decorate([
|
|
139
|
+
(0, inversify_1.postConstruct)(),
|
|
140
|
+
__metadata("design:type", Function),
|
|
141
|
+
__metadata("design:paramtypes", []),
|
|
142
|
+
__metadata("design:returntype", void 0)
|
|
143
|
+
], TerminalSearchWidget.prototype, "init", null);
|
|
144
|
+
TerminalSearchWidget = __decorate([
|
|
145
|
+
(0, inversify_1.injectable)()
|
|
146
|
+
], TerminalSearchWidget);
|
|
147
|
+
exports.TerminalSearchWidget = TerminalSearchWidget;
|
|
148
148
|
//# sourceMappingURL=terminal-search-widget.js.map
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { URI } from '@theia/core';
|
|
2
|
-
import { TerminalService } from './base/terminal-service';
|
|
3
|
-
import { TerminalWidget, TerminalWidgetOptions } from './base/terminal-widget';
|
|
4
|
-
import { TerminalProfile } from './terminal-profile-service';
|
|
5
|
-
export declare class ShellTerminalProfile implements TerminalProfile {
|
|
6
|
-
protected readonly terminalService: TerminalService;
|
|
7
|
-
protected readonly options: TerminalWidgetOptions;
|
|
8
|
-
get shellPath(): string | undefined;
|
|
9
|
-
constructor(terminalService: TerminalService, options: TerminalWidgetOptions);
|
|
10
|
-
start(): Promise<TerminalWidget>;
|
|
11
|
-
/**
|
|
12
|
-
* Makes a copy of this profile modified with the options given
|
|
13
|
-
* as an argument.
|
|
14
|
-
* @param options the options to override
|
|
15
|
-
* @returns a modified copy of this profile
|
|
16
|
-
*/
|
|
17
|
-
modify(options: {
|
|
18
|
-
cwd?: string | URI;
|
|
19
|
-
}): TerminalProfile;
|
|
20
|
-
}
|
|
1
|
+
import { URI } from '@theia/core';
|
|
2
|
+
import { TerminalService } from './base/terminal-service';
|
|
3
|
+
import { TerminalWidget, TerminalWidgetOptions } from './base/terminal-widget';
|
|
4
|
+
import { TerminalProfile } from './terminal-profile-service';
|
|
5
|
+
export declare class ShellTerminalProfile implements TerminalProfile {
|
|
6
|
+
protected readonly terminalService: TerminalService;
|
|
7
|
+
protected readonly options: TerminalWidgetOptions;
|
|
8
|
+
get shellPath(): string | undefined;
|
|
9
|
+
constructor(terminalService: TerminalService, options: TerminalWidgetOptions);
|
|
10
|
+
start(): Promise<TerminalWidget>;
|
|
11
|
+
/**
|
|
12
|
+
* Makes a copy of this profile modified with the options given
|
|
13
|
+
* as an argument.
|
|
14
|
+
* @param options the options to override
|
|
15
|
+
* @returns a modified copy of this profile
|
|
16
|
+
*/
|
|
17
|
+
modify(options: {
|
|
18
|
+
cwd?: string | URI;
|
|
19
|
+
}): TerminalProfile;
|
|
20
|
+
}
|
|
21
21
|
//# sourceMappingURL=shell-terminal-profile.d.ts.map
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *****************************************************************************
|
|
3
|
-
// Copyright (C) 2022 STMicroelectronics and others.
|
|
4
|
-
//
|
|
5
|
-
// This program and the accompanying materials are made available under the
|
|
6
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
-
//
|
|
9
|
-
// This Source Code may also be made available under the following Secondary
|
|
10
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
-
// with the GNU Classpath Exception which is available at
|
|
13
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
-
//
|
|
15
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
|
-
// *****************************************************************************
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.ShellTerminalProfile = void 0;
|
|
19
|
-
class ShellTerminalProfile {
|
|
20
|
-
constructor(terminalService, options) {
|
|
21
|
-
this.terminalService = terminalService;
|
|
22
|
-
this.options = options;
|
|
23
|
-
}
|
|
24
|
-
get shellPath() {
|
|
25
|
-
return this.options.shellPath;
|
|
26
|
-
}
|
|
27
|
-
async start() {
|
|
28
|
-
const widget = await this.terminalService.newTerminal(this.options);
|
|
29
|
-
widget.start();
|
|
30
|
-
return widget;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Makes a copy of this profile modified with the options given
|
|
34
|
-
* as an argument.
|
|
35
|
-
* @param options the options to override
|
|
36
|
-
* @returns a modified copy of this profile
|
|
37
|
-
*/
|
|
38
|
-
modify(options) {
|
|
39
|
-
return new ShellTerminalProfile(this.terminalService, { ...this.options, ...options });
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
exports.ShellTerminalProfile = ShellTerminalProfile;
|
|
1
|
+
"use strict";
|
|
2
|
+
// *****************************************************************************
|
|
3
|
+
// Copyright (C) 2022 STMicroelectronics and others.
|
|
4
|
+
//
|
|
5
|
+
// This program and the accompanying materials are made available under the
|
|
6
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
+
//
|
|
9
|
+
// This Source Code may also be made available under the following Secondary
|
|
10
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
+
// with the GNU Classpath Exception which is available at
|
|
13
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
+
//
|
|
15
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
|
+
// *****************************************************************************
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.ShellTerminalProfile = void 0;
|
|
19
|
+
class ShellTerminalProfile {
|
|
20
|
+
constructor(terminalService, options) {
|
|
21
|
+
this.terminalService = terminalService;
|
|
22
|
+
this.options = options;
|
|
23
|
+
}
|
|
24
|
+
get shellPath() {
|
|
25
|
+
return this.options.shellPath;
|
|
26
|
+
}
|
|
27
|
+
async start() {
|
|
28
|
+
const widget = await this.terminalService.newTerminal(this.options);
|
|
29
|
+
widget.start();
|
|
30
|
+
return widget;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Makes a copy of this profile modified with the options given
|
|
34
|
+
* as an argument.
|
|
35
|
+
* @param options the options to override
|
|
36
|
+
* @returns a modified copy of this profile
|
|
37
|
+
*/
|
|
38
|
+
modify(options) {
|
|
39
|
+
return new ShellTerminalProfile(this.terminalService, { ...this.options, ...options });
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
exports.ShellTerminalProfile = ShellTerminalProfile;
|
|
43
43
|
//# sourceMappingURL=shell-terminal-profile.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TerminalContribution } from './terminal-widget-impl';
|
|
2
|
-
/** @deprecated @since 1.28.0 import from `terminal-widget-impl` instead. */
|
|
3
|
-
export { TerminalContribution };
|
|
1
|
+
import { TerminalContribution } from './terminal-widget-impl';
|
|
2
|
+
/** @deprecated @since 1.28.0 import from `terminal-widget-impl` instead. */
|
|
3
|
+
export { TerminalContribution };
|
|
4
4
|
//# sourceMappingURL=terminal-contribution.d.ts.map
|