src/vs/workbench/contrib/search/browser/patternInputWidget.ts/PatternInputWidget/onInputKeyUp
class PatternInputWidget:	private onInputKeyUp(keyboardEvent: IKeyboardEvent) {
		switch (keyboardEvent.keyCode) {
			case KeyCode.Enter:
				this.onSearchSubmit();
				this._onSubmit.fire(false);
				return;
			case KeyCode.Escape:
				this._onCancel.fire();
				return;
		}
	}