We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76af57a commit d99f77cCopy full SHA for d99f77c
libraries/node-core-library/src/Terminal/StringBufferTerminalProvider.ts
@@ -94,10 +94,10 @@ export class StringBufferTerminalProvider implements ITerminalProvider {
94
return this._normalizeOutput(this._warningBuffer.toString());
95
}
96
97
- private _normalizeOutput(s: string): string { // tslint:disable-line:export-name
+ private _normalizeOutput(s: string): string {
98
return Text.convertToLf(s)
99
- .replace(/\u801b/g, '[x]')
100
- .replace(/\n/g, '[-n-]')
101
- .replace(/\r/g, '[-r-]');
+ .replace(/\u001b/g, '[x]') // eslint-disable-line no-control-regex
+ .replace(/\n/g, '[-n-]')
+ .replace(/\r/g, '[-r-]');
102
103
0 commit comments