Skip to content

Commit 4dc543d

Browse files
committed
1 parent 8813aca commit 4dc543d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/vs/workbench/contrib/terminal/browser/terminalInstance.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -976,6 +976,11 @@ export class TerminalInstance extends Disposable implements ITerminalInstance {
976976
return false;
977977
}
978978

979+
if (event.key === 'Tab' && event.shiftKey) {
980+
event.preventDefault();
981+
return true;
982+
}
983+
979984
// Always have alt+F4 skip the terminal on Windows and allow it to be handled by the
980985
// system
981986
if (isWindows && event.altKey && event.key === 'F4' && !event.ctrlKey) {

src/vs/workbench/contrib/terminalContrib/accessibility/browser/terminalAccessibleWidget.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,6 @@ export abstract class TerminalAccessibleWidget extends DisposableStore {
118118
// On escape, hide the accessible buffer and force focus onto the terminal
119119
this.hide(true);
120120
break;
121-
case KeyCode.Tab:
122-
// On tab or shift+tab, hide the accessible buffer and perform the default tab
123-
// behavior
124-
this.hide();
125-
break;
126121
}
127122
}));
128123
this.add(this._editorWidget.onDidFocusEditorText(async () => {

0 commit comments

Comments
 (0)