Skip to content

Commit 146a7d8

Browse files
meganroggeTyriar
andauthored
Update src/vs/workbench/contrib/terminal/browser/terminalInstance.ts
Co-authored-by: Daniel Imms <[email protected]>
1 parent 4dc543d commit 146a7d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

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

979+
// Prevent default when shift+tab is being sent to the terminal to avoid it bubbling up
980+
// and changing focus https://github.com/microsoft/vscode/issues/188329
979981
if (event.key === 'Tab' && event.shiftKey) {
980982
event.preventDefault();
981983
return true;

0 commit comments

Comments
 (0)