src/vs/base/browser/ui/inputbox/inputBox.ts/HistoryInputBox/addToHistory
class HistoryInputBox:	public addToHistory(): void {
		if (this.value && this.value !== this.getCurrentValue()) {
			this.history.add(this.value);
		}
	}