Skip to content

Commit

Permalink
Update xtermTerminal.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
huangyuyao authored Apr 26, 2024
1 parent 4641325 commit ab619ea
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ export class XtermTerminal extends Disposable implements IXtermTerminal, IDetach
if (data === '\x13') { // XOFF (Ctrl+S)
this.showPauseNotification();
} else if (data === '\x11') { // XON (Ctrl+Q)
this.hidePauseNotification();

}
});
}
Expand All @@ -384,11 +384,6 @@ export class XtermTerminal extends Disposable implements IXtermTerminal, IDetach
});
}

private hidePauseNotification() {
// Currently, VS Code do not support programmatically closing a notification
// This function remains here for structural purposes or future use if the API changes
}

private sendResumeSignal() {
this.raw.write('\x11'); // XON (Ctrl+Q)
}
Expand Down

0 comments on commit ab619ea

Please sign in to comment.