Fixes #133353 by hiding ghost text on editor blur.

This commit is contained in:
Henning Dieterichs 2021-09-21 12:22:23 +02:00
parent b920b883d5
commit c79d31a9ea
No known key found for this signature in database
GPG key ID: 771381EFFDB9EC06

View file

@ -69,6 +69,10 @@ export class InlineCompletionsModel extends Disposable implements GhostTextWidge
this._register(toDisposable(() => {
this.disposed = true;
}));
this._register(this.editor.onDidBlurEditorText(() => {
this.hide();
}));
}
private handleUserInput() {