src/vs/workbench/contrib/terminal/common/history.ts/TerminalPersistedHistory/_getHistoryLimit
class TerminalPersistedHistory:	private _getHistoryLimit() {
		const historyLimit = this._configurationService.getValue(TerminalSettingId.ShellIntegrationCommandHistory);
		return typeof historyLimit === 'number' ? historyLimit : Constants.DefaultHistoryLimit;
	}