src/vs/workbench/contrib/terminal/browser/terminalTypeAheadAddon.ts/StringReader/eatCharCode
class StringReader:	eatCharCode(min = 0, max = min + 1) {
		const code = this._input.charCodeAt(this.index);
		if (code < min || code >= max) {
			return undefined;
		}

		this.index++;
		return code;
	}