Skip to content

Commit

Permalink
Fix terminalFocus context key after select all from cmd palette
Browse files Browse the repository at this point in the history
Fixes #28679
  • Loading branch information
Tyriar committed Jun 14, 2017
1 parent 732824c commit fda3ed3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,8 @@ export class TerminalInstance implements ITerminalInstance {
}

public selectAll(): void {
// Focus here to ensure the terminal context key is set
this._xterm.focus();
this._xterm.selectAll();
}

Expand Down

0 comments on commit fda3ed3

Please sign in to comment.