mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-04 15:25:47 +01:00
Merge pull request #193840 from microsoft/merogge/editor-term
don't reveal active terminal before navigating in accessible terminal view
This commit is contained in:
+2
-4
@@ -249,8 +249,7 @@ registerTerminalAction({
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
run: async (c) => {
|
run: async (c) => {
|
||||||
const instance = await c.service.getActiveOrCreateInstance();
|
const instance = await c.service.activeInstance;
|
||||||
await c.service.revealActiveTerminal();
|
|
||||||
if (!instance) {
|
if (!instance) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -271,8 +270,7 @@ registerTerminalAction({
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
run: async (c) => {
|
run: async (c) => {
|
||||||
const instance = await c.service.getActiveOrCreateInstance();
|
const instance = await c.service.activeInstance;
|
||||||
await c.service.revealActiveTerminal();
|
|
||||||
if (!instance) {
|
if (!instance) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -25,8 +25,7 @@ export class TerminalAccessibleBufferProvider extends DisposableStore implements
|
|||||||
@IModelService _modelService: IModelService,
|
@IModelService _modelService: IModelService,
|
||||||
@IConfigurationService _configurationService: IConfigurationService,
|
@IConfigurationService _configurationService: IConfigurationService,
|
||||||
@IContextKeyService _contextKeyService: IContextKeyService,
|
@IContextKeyService _contextKeyService: IContextKeyService,
|
||||||
@ITerminalService _terminalService: ITerminalService,
|
@ITerminalService _terminalService: ITerminalService
|
||||||
@IConfigurationService configurationService: IConfigurationService
|
|
||||||
) {
|
) {
|
||||||
super();
|
super();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user