src/vs/workbench/contrib/terminal/browser/terminalTypeAheadAddon.ts/TypeAheadAddon/_onBeforeProcessData
class TypeAheadAddon:	private _onBeforeProcessData(event: IBeforeProcessDataEvent): void {
		if (!this._timeline) {
			return;
		}

		// console.log('incoming data:', JSON.stringify(event.data));
		event.data = this._timeline.beforeServerInput(event.data);
		// console.log('emitted data:', JSON.stringify(event.data));

		this._deferClearingPredictions();
	}