@theia/terminal 1.67.0-next.13 → 1.67.0-next.56
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 +1 -1
- package/package.json +11 -10
- package/src/browser/search/terminal-search-widget.tsx +24 -8
- package/src/browser/terminal-frontend-contribution.ts +16 -15
- package/src/browser/terminal-frontend-module.ts +1 -1
- package/src/browser/terminal-widget-impl.ts +10 -4
- package/lib/browser/base/terminal-service.d.ts +0 -35
- package/lib/browser/base/terminal-service.d.ts.map +0 -1
- package/lib/browser/base/terminal-service.js +0 -8
- package/lib/browser/base/terminal-service.js.map +0 -1
- package/lib/browser/base/terminal-widget.d.ts +0 -219
- package/lib/browser/base/terminal-widget.d.ts.map +0 -1
- package/lib/browser/base/terminal-widget.js +0 -35
- package/lib/browser/base/terminal-widget.js.map +0 -1
- package/lib/browser/index.d.ts +0 -2
- package/lib/browser/index.d.ts.map +0 -1
- package/lib/browser/index.js +0 -20
- package/lib/browser/index.js.map +0 -1
- package/lib/browser/search/terminal-search-container.d.ts +0 -4
- package/lib/browser/search/terminal-search-container.d.ts.map +0 -1
- package/lib/browser/search/terminal-search-container.js +0 -29
- package/lib/browser/search/terminal-search-container.js.map +0 -1
- package/lib/browser/search/terminal-search-widget.d.ts +0 -31
- package/lib/browser/search/terminal-search-widget.d.ts.map +0 -1
- package/lib/browser/search/terminal-search-widget.js +0 -140
- package/lib/browser/search/terminal-search-widget.js.map +0 -1
- package/lib/browser/shell-terminal-profile.d.ts +0 -21
- package/lib/browser/shell-terminal-profile.d.ts.map +0 -1
- package/lib/browser/shell-terminal-profile.js +0 -43
- package/lib/browser/shell-terminal-profile.js.map +0 -1
- package/lib/browser/terminal-contribution.d.ts +0 -4
- package/lib/browser/terminal-contribution.d.ts.map +0 -1
- package/lib/browser/terminal-contribution.js +0 -21
- package/lib/browser/terminal-contribution.js.map +0 -1
- package/lib/browser/terminal-copy-on-selection-handler.d.ts +0 -11
- package/lib/browser/terminal-copy-on-selection-handler.d.ts.map +0 -1
- package/lib/browser/terminal-copy-on-selection-handler.js +0 -96
- package/lib/browser/terminal-copy-on-selection-handler.js.map +0 -1
- package/lib/browser/terminal-file-link-provider.d.ts +0 -40
- package/lib/browser/terminal-file-link-provider.d.ts.map +0 -1
- package/lib/browser/terminal-file-link-provider.js +0 -288
- package/lib/browser/terminal-file-link-provider.js.map +0 -1
- package/lib/browser/terminal-frontend-contribution.d.ts +0 -118
- package/lib/browser/terminal-frontend-contribution.d.ts.map +0 -1
- package/lib/browser/terminal-frontend-contribution.js +0 -1086
- package/lib/browser/terminal-frontend-contribution.js.map +0 -1
- package/lib/browser/terminal-frontend-module.d.ts +0 -6
- package/lib/browser/terminal-frontend-module.d.ts.map +0 -1
- package/lib/browser/terminal-frontend-module.js +0 -118
- package/lib/browser/terminal-frontend-module.js.map +0 -1
- package/lib/browser/terminal-link-helpers.d.ts +0 -28
- package/lib/browser/terminal-link-helpers.d.ts.map +0 -1
- package/lib/browser/terminal-link-helpers.js +0 -156
- package/lib/browser/terminal-link-helpers.js.map +0 -1
- package/lib/browser/terminal-link-provider.d.ts +0 -52
- package/lib/browser/terminal-link-provider.d.ts.map +0 -1
- package/lib/browser/terminal-link-provider.js +0 -190
- package/lib/browser/terminal-link-provider.js.map +0 -1
- package/lib/browser/terminal-profile-service.d.ts +0 -59
- package/lib/browser/terminal-profile-service.d.ts.map +0 -1
- package/lib/browser/terminal-profile-service.js +0 -152
- package/lib/browser/terminal-profile-service.js.map +0 -1
- package/lib/browser/terminal-quick-open-service.d.ts +0 -37
- package/lib/browser/terminal-quick-open-service.d.ts.map +0 -1
- package/lib/browser/terminal-quick-open-service.js +0 -130
- package/lib/browser/terminal-quick-open-service.js.map +0 -1
- package/lib/browser/terminal-theme-service.d.ts +0 -12
- package/lib/browser/terminal-theme-service.d.ts.map +0 -1
- package/lib/browser/terminal-theme-service.js +0 -67
- package/lib/browser/terminal-theme-service.js.map +0 -1
- package/lib/browser/terminal-url-link-provider.d.ts +0 -12
- package/lib/browser/terminal-url-link-provider.d.ts.map +0 -1
- package/lib/browser/terminal-url-link-provider.js +0 -69
- package/lib/browser/terminal-url-link-provider.js.map +0 -1
- package/lib/browser/terminal-widget-impl.d.ts +0 -191
- package/lib/browser/terminal-widget-impl.d.ts.map +0 -1
- package/lib/browser/terminal-widget-impl.js +0 -915
- package/lib/browser/terminal-widget-impl.js.map +0 -1
- package/lib/common/base-terminal-protocol.d.ts +0 -56
- package/lib/common/base-terminal-protocol.d.ts.map +0 -1
- package/lib/common/base-terminal-protocol.js +0 -85
- package/lib/common/base-terminal-protocol.js.map +0 -1
- package/lib/common/shell-terminal-protocol.d.ts +0 -67
- package/lib/common/shell-terminal-protocol.d.ts.map +0 -1
- package/lib/common/shell-terminal-protocol.js +0 -36
- package/lib/common/shell-terminal-protocol.js.map +0 -1
- package/lib/common/shell-type.d.ts +0 -23
- package/lib/common/shell-type.d.ts.map +0 -1
- package/lib/common/shell-type.js +0 -66
- package/lib/common/shell-type.js.map +0 -1
- package/lib/common/shell-type.spec.d.ts +0 -2
- package/lib/common/shell-type.spec.d.ts.map +0 -1
- package/lib/common/shell-type.spec.js +0 -159
- package/lib/common/shell-type.spec.js.map +0 -1
- package/lib/common/terminal-preferences.d.ts +0 -74
- package/lib/common/terminal-preferences.d.ts.map +0 -1
- package/lib/common/terminal-preferences.js +0 -516
- package/lib/common/terminal-preferences.js.map +0 -1
- package/lib/common/terminal-protocol.d.ts +0 -13
- package/lib/common/terminal-protocol.d.ts.map +0 -1
- package/lib/common/terminal-protocol.js +0 -22
- package/lib/common/terminal-protocol.js.map +0 -1
- package/lib/common/terminal-watcher.d.ts +0 -14
- package/lib/common/terminal-watcher.d.ts.map +0 -1
- package/lib/common/terminal-watcher.js +0 -66
- package/lib/common/terminal-watcher.js.map +0 -1
- package/lib/node/base-terminal-server.d.ts +0 -25
- package/lib/node/base-terminal-server.d.ts.map +0 -1
- package/lib/node/base-terminal-server.js +0 -158
- package/lib/node/base-terminal-server.js.map +0 -1
- package/lib/node/buffering-stream.d.ts +0 -42
- package/lib/node/buffering-stream.d.ts.map +0 -1
- package/lib/node/buffering-stream.js +0 -76
- package/lib/node/buffering-stream.js.map +0 -1
- package/lib/node/buffering-stream.spec.d.ts +0 -2
- package/lib/node/buffering-stream.spec.d.ts.map +0 -1
- package/lib/node/buffering-stream.spec.js +0 -44
- package/lib/node/buffering-stream.spec.js.map +0 -1
- package/lib/node/index.d.ts +0 -2
- package/lib/node/index.d.ts.map +0 -1
- package/lib/node/index.js +0 -20
- package/lib/node/index.js.map +0 -1
- package/lib/node/shell-process.d.ts +0 -28
- package/lib/node/shell-process.d.ts.map +0 -1
- package/lib/node/shell-process.js +0 -97
- package/lib/node/shell-process.js.map +0 -1
- package/lib/node/shell-terminal-server.d.ts +0 -31
- package/lib/node/shell-terminal-server.d.ts.map +0 -1
- package/lib/node/shell-terminal-server.js +0 -218
- package/lib/node/shell-terminal-server.js.map +0 -1
- package/lib/node/shell-terminal-server.spec.d.ts +0 -2
- package/lib/node/shell-terminal-server.spec.d.ts.map +0 -1
- package/lib/node/shell-terminal-server.spec.js +0 -36
- package/lib/node/shell-terminal-server.spec.js.map +0 -1
- package/lib/node/terminal-backend-contribution.d.ts +0 -10
- package/lib/node/terminal-backend-contribution.d.ts.map +0 -1
- package/lib/node/terminal-backend-contribution.js +0 -68
- package/lib/node/terminal-backend-contribution.js.map +0 -1
- package/lib/node/terminal-backend-contribution.slow-spec.d.ts +0 -2
- package/lib/node/terminal-backend-contribution.slow-spec.d.ts.map +0 -1
- package/lib/node/terminal-backend-contribution.slow-spec.js +0 -55
- package/lib/node/terminal-backend-contribution.slow-spec.js.map +0 -1
- package/lib/node/terminal-backend-module.d.ts +0 -12
- package/lib/node/terminal-backend-module.d.ts.map +0 -1
- package/lib/node/terminal-backend-module.js +0 -70
- package/lib/node/terminal-backend-module.js.map +0 -1
- package/lib/node/terminal-server.d.ts +0 -10
- package/lib/node/terminal-server.d.ts.map +0 -1
- package/lib/node/terminal-server.js +0 -54
- package/lib/node/terminal-server.js.map +0 -1
- package/lib/node/terminal-server.spec.d.ts +0 -2
- package/lib/node/terminal-server.spec.d.ts.map +0 -1
- package/lib/node/terminal-server.spec.js +0 -38
- package/lib/node/terminal-server.spec.js.map +0 -1
- package/lib/node/test/terminal-test-container.d.ts +0 -3
- package/lib/node/test/terminal-test-container.d.ts.map +0 -1
- package/lib/node/test/terminal-test-container.js +0 -41
- package/lib/node/test/terminal-test-container.js.map +0 -1
- package/lib/package.spec.d.ts +0 -1
- package/lib/package.spec.d.ts.map +0 -1
- package/lib/package.spec.js +0 -26
- package/lib/package.spec.js.map +0 -1
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ The `@theia/terminal` extension contributes the ability to spawn integrated term
|
|
|
16
16
|
|
|
17
17
|
## Additional Information
|
|
18
18
|
|
|
19
|
-
- [API documentation for `@theia/terminal`](https://eclipse-theia.github.io/theia/docs/next/modules/
|
|
19
|
+
- [API documentation for `@theia/terminal`](https://eclipse-theia.github.io/theia/docs/next/modules/_theia_terminal.html)
|
|
20
20
|
- [Theia - GitHub](https://github.com/eclipse-theia/theia)
|
|
21
21
|
- [Theia - Website](https://theia-ide.org/)
|
|
22
22
|
|
package/package.json
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/terminal",
|
|
3
|
-
"version": "1.67.0-next.
|
|
3
|
+
"version": "1.67.0-next.56+d8f18cc386c",
|
|
4
4
|
"description": "Theia - Terminal Extension",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@theia/core": "1.67.0-next.
|
|
7
|
-
"@theia/editor": "1.67.0-next.
|
|
8
|
-
"@theia/file-search": "1.67.0-next.
|
|
9
|
-
"@theia/filesystem": "1.67.0-next.
|
|
10
|
-
"@theia/process": "1.67.0-next.
|
|
11
|
-
"@theia/variable-resolver": "1.67.0-next.
|
|
12
|
-
"@theia/workspace": "1.67.0-next.
|
|
6
|
+
"@theia/core": "1.67.0-next.56+d8f18cc386c",
|
|
7
|
+
"@theia/editor": "1.67.0-next.56+d8f18cc386c",
|
|
8
|
+
"@theia/file-search": "1.67.0-next.56+d8f18cc386c",
|
|
9
|
+
"@theia/filesystem": "1.67.0-next.56+d8f18cc386c",
|
|
10
|
+
"@theia/process": "1.67.0-next.56+d8f18cc386c",
|
|
11
|
+
"@theia/variable-resolver": "1.67.0-next.56+d8f18cc386c",
|
|
12
|
+
"@theia/workspace": "1.67.0-next.56+d8f18cc386c",
|
|
13
13
|
"tslib": "^2.6.2",
|
|
14
14
|
"xterm": "^5.3.0",
|
|
15
15
|
"xterm-addon-fit": "^0.8.0",
|
|
16
|
-
"xterm-addon-search": "^0.13.0"
|
|
16
|
+
"xterm-addon-search": "^0.13.0",
|
|
17
|
+
"xterm-addon-webgl": "^0.16.0"
|
|
17
18
|
},
|
|
18
19
|
"publishConfig": {
|
|
19
20
|
"access": "public"
|
|
@@ -55,5 +56,5 @@
|
|
|
55
56
|
"nyc": {
|
|
56
57
|
"extends": "../../configs/nyc.json"
|
|
57
58
|
},
|
|
58
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "d8f18cc386c45a736cd193d42eab02c8f64c6b10"
|
|
59
60
|
}
|
|
@@ -21,6 +21,7 @@ import '../../../src/browser/style/terminal-search.css';
|
|
|
21
21
|
import { Terminal } from 'xterm';
|
|
22
22
|
import { SearchAddon, ISearchOptions } from 'xterm-addon-search';
|
|
23
23
|
import { codicon, Key } from '@theia/core/lib/browser';
|
|
24
|
+
import { nls } from '@theia/core';
|
|
24
25
|
|
|
25
26
|
export const TERMINAL_SEARCH_WIDGET_FACTORY_ID = 'terminal-search';
|
|
26
27
|
export const TerminalSearchWidgetFactory = Symbol('TerminalSearchWidgetFactory');
|
|
@@ -52,22 +53,37 @@ export class TerminalSearchWidget extends ReactWidget {
|
|
|
52
53
|
return <div className='theia-search-terminal-widget'>
|
|
53
54
|
<div className='theia-search-elem-box' ref={searchBox => this.searchBox = searchBox} >
|
|
54
55
|
<input
|
|
55
|
-
title='Find'
|
|
56
|
+
title={nls.localizeByDefault('Find')}
|
|
56
57
|
type='text'
|
|
57
58
|
spellCheck='false'
|
|
58
|
-
placeholder='Find'
|
|
59
|
+
placeholder={nls.localizeByDefault('Find')}
|
|
59
60
|
ref={ip => this.searchInput = ip}
|
|
60
61
|
onKeyUp={this.onInputChanged}
|
|
61
62
|
onFocus={this.onSearchInputFocus}
|
|
62
63
|
onBlur={this.onSearchInputBlur}
|
|
63
64
|
/>
|
|
64
|
-
<div
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
<div
|
|
66
|
+
title={nls.localizeByDefault('Match Case')}
|
|
67
|
+
tabIndex={0}
|
|
68
|
+
className={'search-elem ' + codicon('case-sensitive')}
|
|
69
|
+
onClick={this.handleCaseSensitiveOptionClicked}
|
|
70
|
+
/>
|
|
71
|
+
<div
|
|
72
|
+
title={nls.localizeByDefault('Match Whole Word')}
|
|
73
|
+
tabIndex={0}
|
|
74
|
+
className={'search-elem ' + codicon('whole-word')}
|
|
75
|
+
onClick={this.handleWholeWordOptionClicked}
|
|
76
|
+
/>
|
|
77
|
+
<div
|
|
78
|
+
title={nls.localizeByDefault('Use Regular Expression')}
|
|
79
|
+
tabIndex={0}
|
|
80
|
+
className={'search-elem ' + codicon('regex')}
|
|
81
|
+
onClick={this.handleRegexOptionClicked}
|
|
82
|
+
/>
|
|
67
83
|
</div>
|
|
68
|
-
<button title='Previous
|
|
69
|
-
<button title='Next
|
|
70
|
-
<button title='Close' className={'search-elem ' + codicon('close')} onClick={this.handleHide}></button>
|
|
84
|
+
<button title={nls.localizeByDefault('Previous Match')} className={'search-elem ' + codicon('arrow-up')} onClick={this.handlePreviousButtonClicked}></button>
|
|
85
|
+
<button title={nls.localizeByDefault('Next Match')} className={'search-elem ' + codicon('arrow-down')} onClick={this.handleNextButtonClicked}></button>
|
|
86
|
+
<button title={nls.localizeByDefault('Close')} className={'search-elem ' + codicon('close')} onClick={this.handleHide}></button>
|
|
71
87
|
</div>;
|
|
72
88
|
}
|
|
73
89
|
|
|
@@ -75,7 +75,8 @@ export namespace TerminalMenus {
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
export namespace TerminalCommands {
|
|
78
|
-
const TERMINAL_CATEGORY = 'Terminal';
|
|
78
|
+
export const TERMINAL_CATEGORY = 'Terminal';
|
|
79
|
+
export const TERMINAL_CATEGORY_KEY = nls.getDefaultKey(TERMINAL_CATEGORY);
|
|
79
80
|
export const NEW = Command.toDefaultLocalizedCommand({
|
|
80
81
|
id: 'terminal:new',
|
|
81
82
|
category: TERMINAL_CATEGORY,
|
|
@@ -85,12 +86,12 @@ export namespace TerminalCommands {
|
|
|
85
86
|
id: 'terminal:new:profile',
|
|
86
87
|
category: TERMINAL_CATEGORY,
|
|
87
88
|
label: 'Create New Integrated Terminal from a Profile'
|
|
88
|
-
});
|
|
89
|
+
}, undefined, TERMINAL_CATEGORY_KEY);
|
|
89
90
|
export const PROFILE_DEFAULT = Command.toLocalizedCommand({
|
|
90
91
|
id: 'terminal:profile:default',
|
|
91
92
|
category: TERMINAL_CATEGORY,
|
|
92
93
|
label: 'Choose the default Terminal Profile'
|
|
93
|
-
});
|
|
94
|
+
}, undefined, TERMINAL_CATEGORY_KEY);
|
|
94
95
|
export const NEW_ACTIVE_WORKSPACE = Command.toDefaultLocalizedCommand({
|
|
95
96
|
id: 'terminal:new:active:workspace',
|
|
96
97
|
category: TERMINAL_CATEGORY,
|
|
@@ -157,11 +158,11 @@ export namespace TerminalCommands {
|
|
|
157
158
|
category: TERMINAL_CATEGORY,
|
|
158
159
|
label: 'Kill Terminal'
|
|
159
160
|
});
|
|
160
|
-
export const SELECT_ALL: Command = {
|
|
161
|
+
export const SELECT_ALL: Command = Command.toDefaultLocalizedCommand({
|
|
161
162
|
id: 'terminal:select:all',
|
|
162
|
-
label:
|
|
163
|
+
label: 'Select All',
|
|
163
164
|
category: TERMINAL_CATEGORY,
|
|
164
|
-
};
|
|
165
|
+
});
|
|
165
166
|
|
|
166
167
|
/**
|
|
167
168
|
* Command that displays all terminals that are currently opened
|
|
@@ -1066,7 +1067,7 @@ export class TerminalFrontendContribution implements FrontendApplicationContribu
|
|
|
1066
1067
|
hcDark: 'panel.background',
|
|
1067
1068
|
hcLight: 'panel.background'
|
|
1068
1069
|
},
|
|
1069
|
-
description: 'The background color of the terminal, this allows coloring the terminal differently to the panel.'
|
|
1070
|
+
description: nls.localizeByDefault('The background color of the terminal, this allows coloring the terminal differently to the panel.')
|
|
1070
1071
|
});
|
|
1071
1072
|
colors.register({
|
|
1072
1073
|
id: 'terminal.foreground',
|
|
@@ -1076,15 +1077,15 @@ export class TerminalFrontendContribution implements FrontendApplicationContribu
|
|
|
1076
1077
|
hcDark: '#FFFFFF',
|
|
1077
1078
|
hcLight: '#292929'
|
|
1078
1079
|
},
|
|
1079
|
-
description: 'The foreground color of the terminal.'
|
|
1080
|
+
description: nls.localizeByDefault('The foreground color of the terminal.')
|
|
1080
1081
|
});
|
|
1081
1082
|
colors.register({
|
|
1082
1083
|
id: 'terminalCursor.foreground',
|
|
1083
|
-
description: 'The foreground color of the terminal cursor.'
|
|
1084
|
+
description: nls.localizeByDefault('The foreground color of the terminal cursor.')
|
|
1084
1085
|
});
|
|
1085
1086
|
colors.register({
|
|
1086
1087
|
id: 'terminalCursor.background',
|
|
1087
|
-
description: 'The background color of the terminal cursor. Allows customizing the color of a character overlapped by a block cursor.'
|
|
1088
|
+
description: nls.localizeByDefault('The background color of the terminal cursor. Allows customizing the color of a character overlapped by a block cursor.')
|
|
1088
1089
|
});
|
|
1089
1090
|
colors.register({
|
|
1090
1091
|
id: 'terminal.selectionBackground',
|
|
@@ -1094,7 +1095,7 @@ export class TerminalFrontendContribution implements FrontendApplicationContribu
|
|
|
1094
1095
|
hcDark: 'editor.selectionBackground',
|
|
1095
1096
|
hcLight: 'editor.selectionBackground'
|
|
1096
1097
|
},
|
|
1097
|
-
description: 'The selection background color of the terminal.'
|
|
1098
|
+
description: nls.localizeByDefault('The selection background color of the terminal.')
|
|
1098
1099
|
});
|
|
1099
1100
|
colors.register({
|
|
1100
1101
|
id: 'terminal.inactiveSelectionBackground',
|
|
@@ -1104,7 +1105,7 @@ export class TerminalFrontendContribution implements FrontendApplicationContribu
|
|
|
1104
1105
|
hcDark: Color.transparent('terminal.selectionBackground', 0.7),
|
|
1105
1106
|
hcLight: Color.transparent('terminal.selectionBackground', 0.5),
|
|
1106
1107
|
},
|
|
1107
|
-
description: 'The selection background color of the terminal when it does not have focus.'
|
|
1108
|
+
description: nls.localizeByDefault('The selection background color of the terminal when it does not have focus.')
|
|
1108
1109
|
});
|
|
1109
1110
|
colors.register({
|
|
1110
1111
|
id: 'terminal.selectionForeground',
|
|
@@ -1115,7 +1116,7 @@ export class TerminalFrontendContribution implements FrontendApplicationContribu
|
|
|
1115
1116
|
hcLight: '#ffffff'
|
|
1116
1117
|
},
|
|
1117
1118
|
// eslint-disable-next-line max-len
|
|
1118
|
-
description: 'The selection foreground color of the terminal. When this is null the selection foreground will be retained and have the minimum contrast ratio feature applied.'
|
|
1119
|
+
description: nls.localizeByDefault('The selection foreground color of the terminal. When this is null the selection foreground will be retained and have the minimum contrast ratio feature applied.')
|
|
1119
1120
|
});
|
|
1120
1121
|
colors.register({
|
|
1121
1122
|
id: 'terminal.border',
|
|
@@ -1125,7 +1126,7 @@ export class TerminalFrontendContribution implements FrontendApplicationContribu
|
|
|
1125
1126
|
hcDark: 'panel.border',
|
|
1126
1127
|
hcLight: 'panel.border'
|
|
1127
1128
|
},
|
|
1128
|
-
description: 'The color of the border that separates split panes within the terminal. This defaults to panel.border.'
|
|
1129
|
+
description: nls.localizeByDefault('The color of the border that separates split panes within the terminal. This defaults to panel.border.')
|
|
1129
1130
|
});
|
|
1130
1131
|
// eslint-disable-next-line guard-for-in
|
|
1131
1132
|
for (const id in terminalAnsiColorMap) {
|
|
@@ -1134,7 +1135,7 @@ export class TerminalFrontendContribution implements FrontendApplicationContribu
|
|
|
1134
1135
|
colors.register({
|
|
1135
1136
|
id,
|
|
1136
1137
|
defaults: entry.defaults,
|
|
1137
|
-
description:
|
|
1138
|
+
description: nls.localizeByDefault("'{0}' ANSI color in the terminal.", colorName)
|
|
1138
1139
|
});
|
|
1139
1140
|
}
|
|
1140
1141
|
}
|
|
@@ -61,7 +61,7 @@ export default new ContainerModule(bind => {
|
|
|
61
61
|
const counter = terminalNum++;
|
|
62
62
|
const domId = options.id || 'terminal-' + counter;
|
|
63
63
|
const widgetOptions: TerminalWidgetOptions = {
|
|
64
|
-
title:
|
|
64
|
+
title: nls.localizeByDefault('Terminal {0}', counter),
|
|
65
65
|
useServerTitle: true,
|
|
66
66
|
destroyTermOnClose: true,
|
|
67
67
|
...options
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
import { Terminal } from 'xterm';
|
|
18
18
|
import { FitAddon } from 'xterm-addon-fit';
|
|
19
|
+
import { WebglAddon } from 'xterm-addon-webgl';
|
|
19
20
|
import { inject, injectable, named, postConstruct } from '@theia/core/shared/inversify';
|
|
20
21
|
import { ContributionProvider, Disposable, Event, Emitter, ILogger, DisposableCollection, Channel, OS, generateUuid } from '@theia/core';
|
|
21
22
|
import {
|
|
@@ -95,6 +96,7 @@ export class TerminalWidgetImpl extends TerminalWidget implements StatefulWidget
|
|
|
95
96
|
protected _terminalId = -1;
|
|
96
97
|
protected readonly onTermDidClose = new Emitter<TerminalWidget>();
|
|
97
98
|
protected fitAddon: FitAddon;
|
|
99
|
+
protected webglAddon: WebglAddon;
|
|
98
100
|
protected term: Terminal;
|
|
99
101
|
protected searchBox: TerminalSearchWidget;
|
|
100
102
|
protected restored = false;
|
|
@@ -209,6 +211,9 @@ export class TerminalWidgetImpl extends TerminalWidget implements StatefulWidget
|
|
|
209
211
|
this.fitAddon = new FitAddon();
|
|
210
212
|
this.term.loadAddon(this.fitAddon);
|
|
211
213
|
|
|
214
|
+
this.webglAddon = new WebglAddon();
|
|
215
|
+
this.term.loadAddon(this.webglAddon);
|
|
216
|
+
|
|
212
217
|
this.initializeLinkHover();
|
|
213
218
|
|
|
214
219
|
this.toDispose.push(this.preferences.onPreferenceChanged(change => {
|
|
@@ -850,6 +855,7 @@ export class TerminalWidgetImpl extends TerminalWidget implements StatefulWidget
|
|
|
850
855
|
this.enhancedPreviewNode = undefined;
|
|
851
856
|
}
|
|
852
857
|
this.styleElement?.remove();
|
|
858
|
+
this.webglAddon?.dispose();
|
|
853
859
|
super.dispose();
|
|
854
860
|
}
|
|
855
861
|
|
|
@@ -974,13 +980,13 @@ export class TerminalWidgetImpl extends TerminalWidget implements StatefulWidget
|
|
|
974
980
|
const processInfo = values[2];
|
|
975
981
|
|
|
976
982
|
const markdown = new MarkdownStringImpl();
|
|
977
|
-
markdown.appendMarkdown('Process ID: '
|
|
978
|
-
markdown.appendMarkdown('Command line: '
|
|
983
|
+
markdown.appendMarkdown(nls.localizeByDefault('Process ID ({0}): {1}', 'PID', processId) + '\\\n');
|
|
984
|
+
markdown.appendMarkdown(nls.localizeByDefault('Command line: {0}',
|
|
979
985
|
processInfo.executable +
|
|
980
986
|
' ' +
|
|
981
987
|
processInfo.arguments.join(' ') +
|
|
982
|
-
'\n\n---\n\n');
|
|
983
|
-
markdown.appendMarkdown(
|
|
988
|
+
'\n\n---\n\n'));
|
|
989
|
+
markdown.appendMarkdown(nls.localizeByDefault("The following extensions have contributed to this terminal's environment:") + '\n');
|
|
984
990
|
extensions.forEach((arr, key) => {
|
|
985
991
|
arr.forEach(value => {
|
|
986
992
|
if (value === undefined) {
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { Event } from '@theia/core/lib/common/event';
|
|
2
|
-
import { WidgetOpenerOptions } from '@theia/core/lib/browser';
|
|
3
|
-
import { TerminalWidgetOptions, TerminalWidget } from './terminal-widget';
|
|
4
|
-
/**
|
|
5
|
-
* Service manipulating terminal widgets.
|
|
6
|
-
*/
|
|
7
|
-
export declare const TerminalService: unique symbol;
|
|
8
|
-
export interface TerminalService {
|
|
9
|
-
/**
|
|
10
|
-
* Create new terminal with predefined options.
|
|
11
|
-
* @param options - terminal options.
|
|
12
|
-
*/
|
|
13
|
-
newTerminal(options: TerminalWidgetOptions): Promise<TerminalWidget>;
|
|
14
|
-
open(terminal: TerminalWidget, options?: WidgetOpenerOptions): void;
|
|
15
|
-
readonly all: TerminalWidget[];
|
|
16
|
-
/**
|
|
17
|
-
* @param id - the widget id (NOT the terminal id!)
|
|
18
|
-
* @return the widget
|
|
19
|
-
*/
|
|
20
|
-
getById(id: string): TerminalWidget | undefined;
|
|
21
|
-
/**
|
|
22
|
-
* @param id - the terminal id (NOT the terminal widget id!)
|
|
23
|
-
* @return the widget
|
|
24
|
-
*/
|
|
25
|
-
getByTerminalId(terminalId: number): TerminalWidget | undefined;
|
|
26
|
-
/**
|
|
27
|
-
* Returns detected default shell.
|
|
28
|
-
*/
|
|
29
|
-
getDefaultShell(): Promise<string>;
|
|
30
|
-
readonly onDidCreateTerminal: Event<TerminalWidget>;
|
|
31
|
-
readonly currentTerminal: TerminalWidget | undefined;
|
|
32
|
-
readonly onDidChangeCurrentTerminal: Event<TerminalWidget | undefined>;
|
|
33
|
-
readonly lastUsedTerminal: TerminalWidget | undefined;
|
|
34
|
-
}
|
|
35
|
-
//# sourceMappingURL=terminal-service.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"terminal-service.d.ts","sourceRoot":"","sources":["../../../src/browser/base/terminal-service.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAE1E;;GAEG;AACH,eAAO,MAAM,eAAe,eAA4B,CAAC;AACzD,MAAM,WAAW,eAAe;IAE5B;;;OAGG;IACH,WAAW,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;IAErE,IAAI,CAAC,QAAQ,EAAE,cAAc,EAAE,OAAO,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAEpE,QAAQ,CAAC,GAAG,EAAE,cAAc,EAAE,CAAC;IAE/B;;;OAGG;IACH,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS,CAAC;IAEhD;;;OAGG;IACH,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS,CAAC;IAEhE;;OAEG;IACH,eAAe,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAEnC,QAAQ,CAAC,mBAAmB,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IAEpD,QAAQ,CAAC,eAAe,EAAE,cAAc,GAAG,SAAS,CAAC;IAErD,QAAQ,CAAC,0BAA0B,EAAE,KAAK,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;IAEvE,QAAQ,CAAC,gBAAgB,EAAE,cAAc,GAAG,SAAS,CAAC;CACzD"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TerminalService = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Service manipulating terminal widgets.
|
|
6
|
-
*/
|
|
7
|
-
exports.TerminalService = Symbol('TerminalService');
|
|
8
|
-
//# sourceMappingURL=terminal-service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"terminal-service.js","sourceRoot":"","sources":["../../../src/browser/base/terminal-service.ts"],"names":[],"mappings":";;;AAmBA;;GAEG;AACU,QAAA,eAAe,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC"}
|
|
@@ -1,219 +0,0 @@
|
|
|
1
|
-
import { Event, ViewColumn } from '@theia/core';
|
|
2
|
-
import { BaseWidget } from '@theia/core/lib/browser';
|
|
3
|
-
import { MarkdownString } from '@theia/core/lib/common/markdown-rendering/markdown-string';
|
|
4
|
-
import { ThemeIcon } from '@theia/core/lib/common/theme';
|
|
5
|
-
import { CommandLineOptions } from '@theia/process/lib/common/shell-command-builder';
|
|
6
|
-
import { TerminalSearchWidget } from '../search/terminal-search-widget';
|
|
7
|
-
import { TerminalProcessInfo, TerminalExitReason } from '../../common/base-terminal-protocol';
|
|
8
|
-
import URI from '@theia/core/lib/common/uri';
|
|
9
|
-
export interface TerminalDimensions {
|
|
10
|
-
cols: number;
|
|
11
|
-
rows: number;
|
|
12
|
-
}
|
|
13
|
-
export interface TerminalExitStatus {
|
|
14
|
-
readonly code: number | undefined;
|
|
15
|
-
readonly reason: TerminalExitReason;
|
|
16
|
-
}
|
|
17
|
-
export type TerminalLocationOptions = TerminalLocation | TerminalEditorLocation | TerminalSplitLocation;
|
|
18
|
-
export declare enum TerminalLocation {
|
|
19
|
-
Panel = 1,
|
|
20
|
-
Editor = 2
|
|
21
|
-
}
|
|
22
|
-
export interface TerminalEditorLocation {
|
|
23
|
-
readonly viewColumn: ViewColumn;
|
|
24
|
-
readonly preserveFocus?: boolean;
|
|
25
|
-
}
|
|
26
|
-
export interface TerminalSplitLocation {
|
|
27
|
-
readonly parentTerminal: string;
|
|
28
|
-
}
|
|
29
|
-
export interface TerminalBuffer {
|
|
30
|
-
readonly length: number;
|
|
31
|
-
/**
|
|
32
|
-
* @param start zero based index of the first line to return
|
|
33
|
-
* @param length the max number or lines to return
|
|
34
|
-
*/
|
|
35
|
-
getLines(start: number, length: number): string[];
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Terminal UI widget.
|
|
39
|
-
*/
|
|
40
|
-
export declare abstract class TerminalWidget extends BaseWidget {
|
|
41
|
-
abstract processId: Promise<number>;
|
|
42
|
-
/**
|
|
43
|
-
* Get the current executable and arguments.
|
|
44
|
-
*/
|
|
45
|
-
abstract processInfo: Promise<TerminalProcessInfo>;
|
|
46
|
-
/** The ids of extensions contributing to the environment of this terminal mapped to the provided description for their changes. */
|
|
47
|
-
abstract envVarCollectionDescriptionsByExtension: Promise<Map<string, (string | MarkdownString | undefined)[]>>;
|
|
48
|
-
/** Terminal kind that indicates whether a terminal is created by a user or by some extension for a user */
|
|
49
|
-
abstract readonly kind: 'user' | string;
|
|
50
|
-
abstract readonly terminalId: number;
|
|
51
|
-
abstract readonly dimensions: TerminalDimensions;
|
|
52
|
-
abstract readonly exitStatus: TerminalExitStatus | undefined;
|
|
53
|
-
/** Terminal widget can be hidden from users until explicitly shown once. */
|
|
54
|
-
abstract readonly hiddenFromUser: boolean;
|
|
55
|
-
/** The position of the terminal widget. */
|
|
56
|
-
abstract readonly location: TerminalLocationOptions;
|
|
57
|
-
/** The last CWD assigned to the terminal, useful when attempting getCwdURI on a task terminal fails */
|
|
58
|
-
lastCwd: URI;
|
|
59
|
-
/**
|
|
60
|
-
* Start terminal and return terminal id.
|
|
61
|
-
* @param id - terminal id.
|
|
62
|
-
*/
|
|
63
|
-
abstract start(id?: number): Promise<number>;
|
|
64
|
-
/**
|
|
65
|
-
* Send text to the terminal server.
|
|
66
|
-
* @param text - text content.
|
|
67
|
-
*/
|
|
68
|
-
abstract sendText(text: string): void;
|
|
69
|
-
/**
|
|
70
|
-
* Resolves when the command is successfully sent, this doesn't mean that it
|
|
71
|
-
* was evaluated. Might reject if terminal wasn't properly started yet.
|
|
72
|
-
*
|
|
73
|
-
* Note that this method will try to escape your arguments as if it was
|
|
74
|
-
* someone inputting everything in a shell.
|
|
75
|
-
*
|
|
76
|
-
* Supported shells: `bash`, `cmd.exe`, `wsl.exe`, `pwsh/powershell.exe`
|
|
77
|
-
*/
|
|
78
|
-
abstract executeCommand(commandOptions: CommandLineOptions): Promise<void>;
|
|
79
|
-
/** Event that fires when the terminal is connected or reconnected */
|
|
80
|
-
abstract onDidOpen: Event<void>;
|
|
81
|
-
/** Event that fires when the terminal fails to connect or reconnect */
|
|
82
|
-
abstract onDidOpenFailure: Event<void>;
|
|
83
|
-
/** Event that fires when the terminal size changed */
|
|
84
|
-
abstract onSizeChanged: Event<{
|
|
85
|
-
cols: number;
|
|
86
|
-
rows: number;
|
|
87
|
-
}>;
|
|
88
|
-
/** Event that fires when the terminal receives a key event. */
|
|
89
|
-
abstract onKey: Event<{
|
|
90
|
-
key: string;
|
|
91
|
-
domEvent: KeyboardEvent;
|
|
92
|
-
}>;
|
|
93
|
-
/** Event that fires when the terminal input data */
|
|
94
|
-
abstract onData: Event<string>;
|
|
95
|
-
/** Event that fires when the terminal shell type is changed */
|
|
96
|
-
abstract onShellTypeChanged: Event<string>;
|
|
97
|
-
abstract onOutput: Event<string>;
|
|
98
|
-
abstract buffer: TerminalBuffer;
|
|
99
|
-
abstract scrollLineUp(): void;
|
|
100
|
-
abstract scrollLineDown(): void;
|
|
101
|
-
abstract scrollToTop(): void;
|
|
102
|
-
abstract scrollToBottom(): void;
|
|
103
|
-
abstract scrollPageUp(): void;
|
|
104
|
-
abstract scrollPageDown(): void;
|
|
105
|
-
abstract resetTerminal(): void;
|
|
106
|
-
/**
|
|
107
|
-
* Event which fires when terminal did closed. Event value contains closed terminal widget definition.
|
|
108
|
-
*/
|
|
109
|
-
abstract onTerminalDidClose: Event<TerminalWidget>;
|
|
110
|
-
/**
|
|
111
|
-
* Cleat terminal output.
|
|
112
|
-
*/
|
|
113
|
-
abstract clearOutput(): void;
|
|
114
|
-
/**
|
|
115
|
-
* Select entire content in the terminal.
|
|
116
|
-
*/
|
|
117
|
-
abstract selectAll(): void;
|
|
118
|
-
abstract writeLine(line: string): void;
|
|
119
|
-
abstract write(data: string): void;
|
|
120
|
-
abstract resize(cols: number, rows: number): void;
|
|
121
|
-
/**
|
|
122
|
-
* Return Terminal search box widget.
|
|
123
|
-
*/
|
|
124
|
-
abstract getSearchBox(): TerminalSearchWidget;
|
|
125
|
-
/**
|
|
126
|
-
* Whether the terminal process has child processes.
|
|
127
|
-
*/
|
|
128
|
-
abstract hasChildProcesses(): Promise<boolean>;
|
|
129
|
-
abstract setTitle(title: string): void;
|
|
130
|
-
abstract waitOnExit(waitOnExit?: boolean | string): void;
|
|
131
|
-
}
|
|
132
|
-
/**
|
|
133
|
-
* Terminal widget options.
|
|
134
|
-
*/
|
|
135
|
-
export declare const TerminalWidgetOptions: unique symbol;
|
|
136
|
-
export interface TerminalWidgetOptions {
|
|
137
|
-
/**
|
|
138
|
-
* Human readable terminal representation on the UI.
|
|
139
|
-
*/
|
|
140
|
-
readonly title?: string;
|
|
141
|
-
/**
|
|
142
|
-
* icon class with or without color modifier
|
|
143
|
-
*/
|
|
144
|
-
readonly iconClass?: string | ThemeIcon;
|
|
145
|
-
/**
|
|
146
|
-
* Path to the executable shell. For example: `/bin/bash`, `bash`, `sh`.
|
|
147
|
-
*/
|
|
148
|
-
readonly shellPath?: string;
|
|
149
|
-
/**
|
|
150
|
-
* Args for the custom shell executable. A string can be used on Windows only which allows
|
|
151
|
-
* specifying shell args in [command-line format](https://msdn.microsoft.com/en-au/08dfcab2-eb6e-49a4-80eb-87d4076c98c6).
|
|
152
|
-
*/
|
|
153
|
-
readonly shellArgs?: string[] | string;
|
|
154
|
-
/**
|
|
155
|
-
* Current working directory.
|
|
156
|
-
*/
|
|
157
|
-
readonly cwd?: string | URI;
|
|
158
|
-
/**
|
|
159
|
-
* Environment variables for terminal.
|
|
160
|
-
*/
|
|
161
|
-
readonly env?: {
|
|
162
|
-
[key: string]: string | null;
|
|
163
|
-
};
|
|
164
|
-
/**
|
|
165
|
-
* Whether the terminal process environment should be exactly as provided in `env`.
|
|
166
|
-
*/
|
|
167
|
-
readonly strictEnv?: boolean;
|
|
168
|
-
/**
|
|
169
|
-
* In case `destroyTermOnClose` is true - terminal process will be destroyed on close terminal widget, otherwise will be kept
|
|
170
|
-
* alive.
|
|
171
|
-
*/
|
|
172
|
-
readonly destroyTermOnClose?: boolean;
|
|
173
|
-
/**
|
|
174
|
-
* Terminal server side can send to the client `terminal title` to display this value on the UI. If
|
|
175
|
-
* useServerTitle = true then display this title, otherwise display title defined by 'title' argument.
|
|
176
|
-
*/
|
|
177
|
-
readonly useServerTitle?: boolean;
|
|
178
|
-
/**
|
|
179
|
-
* Whether it is a pseudo terminal where an extension controls its input and output.
|
|
180
|
-
*/
|
|
181
|
-
readonly isPseudoTerminal?: boolean;
|
|
182
|
-
/**
|
|
183
|
-
* Terminal id. Should be unique for all DOM.
|
|
184
|
-
*/
|
|
185
|
-
readonly id?: string;
|
|
186
|
-
/**
|
|
187
|
-
* Terminal attributes. Can be useful to apply some implementation specific information.
|
|
188
|
-
*/
|
|
189
|
-
readonly attributes?: {
|
|
190
|
-
[key: string]: string | null;
|
|
191
|
-
};
|
|
192
|
-
/**
|
|
193
|
-
* Terminal kind that indicates whether a terminal is created by a user or by some extension for a user
|
|
194
|
-
*/
|
|
195
|
-
readonly kind?: 'user' | string;
|
|
196
|
-
/**
|
|
197
|
-
* When enabled the terminal will run the process as normal but not be surfaced to the user until `Terminal.show` is called.
|
|
198
|
-
*/
|
|
199
|
-
readonly hideFromUser?: boolean;
|
|
200
|
-
readonly location?: TerminalLocationOptions;
|
|
201
|
-
/**
|
|
202
|
-
* When enabled, the terminal will not be persisted across window reloads.
|
|
203
|
-
*/
|
|
204
|
-
readonly isTransient?: boolean;
|
|
205
|
-
/**
|
|
206
|
-
* The nonce to use to verify shell integration sequences are coming from a trusted source.
|
|
207
|
-
* An example impact of UX of this is if the command line is reported with a nonce, it will
|
|
208
|
-
* not need to verify with the user that the command line is correct before rerunning it
|
|
209
|
-
* via the [shell integration command decoration](https://code.visualstudio.com/docs/terminal/shell-integration#_command-decorations-and-the-overview-ruler).
|
|
210
|
-
*
|
|
211
|
-
* This should be used if the terminal includes [custom shell integration support](https://code.visualstudio.com/docs/terminal/shell-integration#_supported-escape-sequences).
|
|
212
|
-
* It should be set to a random GUID which will then set the `VSCODE_NONCE` environment
|
|
213
|
-
* variable. Inside the shell, this should then be removed from the environment so as to
|
|
214
|
-
* protect it from general access. Once that is done it can be passed through in the
|
|
215
|
-
* relevant sequences to make them trusted.
|
|
216
|
-
*/
|
|
217
|
-
readonly shellIntegrationNonce?: string;
|
|
218
|
-
}
|
|
219
|
-
//# sourceMappingURL=terminal-widget.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"terminal-widget.d.ts","sourceRoot":"","sources":["../../../src/browser/base/terminal-widget.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,2DAA2D,CAAC;AAC3F,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iDAAiD,CAAC;AACrF,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAC9F,OAAO,GAAG,MAAM,4BAA4B,CAAC;AAE7C,MAAM,WAAW,kBAAkB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,kBAAkB;IAC/B,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,QAAQ,CAAC,MAAM,EAAE,kBAAkB,CAAC;CACvC;AAED,MAAM,MAAM,uBAAuB,GAAG,gBAAgB,GAAG,sBAAsB,GAAG,qBAAqB,CAAC;AAExG,oBAAY,gBAAgB;IACxB,KAAK,IAAI;IACT,MAAM,IAAI;CACb;AAED,MAAM,WAAW,sBAAsB;IACnC,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC;IAChC,QAAQ,CAAC,aAAa,CAAC,EAAE,OAAO,CAAC;CACpC;AAED,MAAM,WAAW,qBAAqB;IAClC,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;CACnC;AAED,MAAM,WAAW,cAAc;I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CAAC,EAAE,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAA;KAAE,CAAC;IAEvD;;OAEG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAEhC;;OAEG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,OAAO,CAAC;IAEhC,QAAQ,CAAC,QAAQ,CAAC,EAAE,uBAAuB,CAAC;IAE5C;;OAEG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IAE/B;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAC3C"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *****************************************************************************
|
|
3
|
-
// Copyright (C) 2018 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.TerminalWidgetOptions = exports.TerminalWidget = exports.TerminalLocation = void 0;
|
|
19
|
-
const browser_1 = require("@theia/core/lib/browser");
|
|
20
|
-
var TerminalLocation;
|
|
21
|
-
(function (TerminalLocation) {
|
|
22
|
-
TerminalLocation[TerminalLocation["Panel"] = 1] = "Panel";
|
|
23
|
-
TerminalLocation[TerminalLocation["Editor"] = 2] = "Editor";
|
|
24
|
-
})(TerminalLocation || (exports.TerminalLocation = TerminalLocation = {}));
|
|
25
|
-
/**
|
|
26
|
-
* Terminal UI widget.
|
|
27
|
-
*/
|
|
28
|
-
class TerminalWidget extends browser_1.BaseWidget {
|
|
29
|
-
}
|
|
30
|
-
exports.TerminalWidget = TerminalWidget;
|
|
31
|
-
/**
|
|
32
|
-
* Terminal widget options.
|
|
33
|
-
*/
|
|
34
|
-
exports.TerminalWidgetOptions = Symbol('TerminalWidgetOptions');
|
|
35
|
-
//# sourceMappingURL=terminal-widget.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"terminal-widget.js","sourceRoot":"","sources":["../../../src/browser/base/terminal-widget.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,+CAA+C;AAC/C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;AAGhF,qDAAqD;AAoBrD,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IACxB,yDAAS,CAAA;IACT,2DAAU,CAAA;AACd,CAAC,EAHW,gBAAgB,gCAAhB,gBAAgB,QAG3B;AAoBD;;GAEG;AACH,MAAsB,cAAe,SAAQ,oBAAU;CAwHtD;AAxHD,wCAwHC;AAED;;GAEG;AACU,QAAA,qBAAqB,GAAG,MAAM,CAAC,uBAAuB,CAAC,CAAC"}
|
package/lib/browser/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/browser/index.ts"],"names":[],"mappings":"AAgBA,cAAc,4BAA4B,CAAC"}
|
package/lib/browser/index.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
const tslib_1 = require("tslib");
|
|
19
|
-
tslib_1.__exportStar(require("./terminal-frontend-module"), exports);
|
|
20
|
-
//# sourceMappingURL=index.js.map
|
package/lib/browser/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/browser/index.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;AAEhF,qEAA2C"}
|
|
@@ -1,4 +0,0 @@
|
|
|
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
|
-
//# sourceMappingURL=terminal-search-container.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"terminal-search-container.d.ts","sourceRoot":"","sources":["../../../src/browser/search/terminal-search-container.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAwB,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAG7F,wBAAgB,2BAA2B,CAAC,SAAS,EAAE,UAAU,CAAC,SAAS,GAAG,2BAA2B,CAOxG"}
|