mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
fix terminal chat hint bug (#212851)
This commit is contained in:
parent
14ebfdc345
commit
e61d724170
|
@ -103,7 +103,7 @@ export class TerminalInitialHintContribution extends Disposable implements ITerm
|
|||
private _createHint(): void {
|
||||
const instance = this._instance instanceof TerminalInstance ? this._instance : undefined;
|
||||
const commandDetectionCapability = instance?.capabilities.get(TerminalCapability.CommandDetection);
|
||||
if (!instance || !this._xterm || this._hintWidget || !commandDetectionCapability || !commandDetectionCapability?.hasInput || instance.reconnectionProperties) {
|
||||
if (!instance || !this._xterm || this._hintWidget || !commandDetectionCapability || commandDetectionCapability?.hasInput || instance.reconnectionProperties) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue