@theia/terminal 1.19.0 → 1.20.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.
- package/lib/browser/terminal-frontend-contribution.d.ts +5 -2
- package/lib/browser/terminal-frontend-contribution.d.ts.map +1 -1
- package/lib/browser/terminal-frontend-contribution.js +46 -38
- package/lib/browser/terminal-frontend-contribution.js.map +1 -1
- package/lib/browser/terminal-frontend-module.d.ts.map +1 -1
- package/lib/browser/terminal-frontend-module.js +1 -0
- package/lib/browser/terminal-frontend-module.js.map +1 -1
- package/lib/browser/terminal-preferences.d.ts +2 -0
- package/lib/browser/terminal-preferences.d.ts.map +1 -1
- package/lib/browser/terminal-preferences.js +31 -20
- package/lib/browser/terminal-preferences.js.map +1 -1
- package/lib/browser/terminal-quick-open-service.d.ts.map +1 -1
- package/lib/browser/terminal-quick-open-service.js +2 -2
- package/lib/browser/terminal-quick-open-service.js.map +1 -1
- package/lib/browser/terminal-theme-service.d.ts +1 -1
- package/lib/browser/terminal-theme-service.d.ts.map +1 -1
- package/lib/browser/terminal-widget-impl.d.ts.map +1 -1
- package/lib/browser/terminal-widget-impl.js +8 -3
- package/lib/browser/terminal-widget-impl.js.map +1 -1
- package/package.json +9 -9
- package/src/browser/terminal-frontend-contribution.ts +52 -40
- package/src/browser/terminal-frontend-module.ts +3 -1
- package/src/browser/terminal-preferences.ts +33 -20
- package/src/browser/terminal-quick-open-service.ts +3 -3
- package/src/browser/terminal-widget-impl.ts +7 -4
|
@@ -49,7 +49,7 @@ export interface TerminalWidgetFactoryOptions extends Partial<TerminalWidgetOpti
|
|
|
49
49
|
@injectable()
|
|
50
50
|
export class TerminalWidgetImpl extends TerminalWidget implements StatefulWidget {
|
|
51
51
|
|
|
52
|
-
static LABEL = nls.
|
|
52
|
+
static LABEL = nls.localizeByDefault('Terminal');
|
|
53
53
|
protected terminalKind = 'user';
|
|
54
54
|
protected _terminalId = -1;
|
|
55
55
|
protected readonly onTermDidClose = new Emitter<TerminalWidget>();
|
|
@@ -166,8 +166,11 @@ export class TerminalWidgetImpl extends TerminalWidget implements StatefulWidget
|
|
|
166
166
|
} else if (preferenceName === 'cursorStyle') {
|
|
167
167
|
preferenceValue = this.getCursorStyle();
|
|
168
168
|
}
|
|
169
|
-
|
|
170
|
-
|
|
169
|
+
try {
|
|
170
|
+
this.term.setOption(preferenceName, preferenceValue);
|
|
171
|
+
} catch (e) {
|
|
172
|
+
console.debug(`xterm configuration: '${preferenceName}' with value '${preferenceValue}' is not valid.`);
|
|
173
|
+
}
|
|
171
174
|
this.needsResize = true;
|
|
172
175
|
this.update();
|
|
173
176
|
}
|
|
@@ -249,7 +252,7 @@ export class TerminalWidgetImpl extends TerminalWidget implements StatefulWidget
|
|
|
249
252
|
|
|
250
253
|
static getFollowLinkHover(): string {
|
|
251
254
|
const cmdCtrl = isOSX ? 'Cmd' : 'Ctrl';
|
|
252
|
-
return nls.
|
|
255
|
+
return nls.localizeByDefault('Follow link') + ' (' +
|
|
253
256
|
nls.localize(`vscode/terminalLinkManager/terminalLinkHandler.followLink${cmdCtrl}`, `${cmdCtrl} + Click`) + ')';
|
|
254
257
|
}
|
|
255
258
|
|