mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-22 12:50:29 -04:00
Merge from vscode fc10e26ea50f82cdd84e9141491357922e6f5fba (#4639)
This commit is contained in:
@@ -763,7 +763,11 @@ export class TerminalInstance implements ITerminalInstance {
|
||||
if (!this._xterm) {
|
||||
return;
|
||||
}
|
||||
const text = window.getSelection().toString();
|
||||
const selection = window.getSelection();
|
||||
if (!selection) {
|
||||
return;
|
||||
}
|
||||
const text = selection.toString();
|
||||
if (!text || force) {
|
||||
this._xterm.focus();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user