src/vs/workbench/contrib/terminal/browser/terminalProcessManager.ts/SeamlessRelaunchDataFilter/_createRecorder
class SeamlessRelaunchDataFilter:	private _createRecorder(process: ITerminalChildProcess): [TerminalRecorder, IDisposable] {
		const recorder = new TerminalRecorder(0, 0);
		const disposable = process.onProcessData(e => recorder.recordData(typeof e === 'string' ? e : e.data));
		return [recorder, disposable];
	}