File tree Expand file tree Collapse file tree
src/vs/workbench/contrib/search/browser Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ export class PatternInputWidget extends Widget {
152152 this . _register ( this . inputBox . onDidChange ( ( ) => {
153153 if ( this . searchConfig . searchOnType ) {
154154 this . _onCancel . fire ( ) ;
155- this . searchOnTypeDelayer . trigger ( ( ) => this . _onSubmit . fire ( false ) , this . searchConfig . searchOnTypeDebouncePeriod ) ;
155+ this . searchOnTypeDelayer . trigger ( ( ) => this . _onSubmit . fire ( true ) , this . searchConfig . searchOnTypeDebouncePeriod ) ;
156156 }
157157 } ) ) ;
158158
@@ -170,7 +170,7 @@ export class PatternInputWidget extends Widget {
170170 private onInputKeyUp ( keyboardEvent : IKeyboardEvent ) {
171171 switch ( keyboardEvent . keyCode ) {
172172 case KeyCode . Enter :
173- this . _onSubmit . fire ( true ) ;
173+ this . _onSubmit . fire ( false ) ;
174174 return ;
175175 case KeyCode . Escape :
176176 this . _onCancel . fire ( ) ;
You can’t perform that action at this time.
0 commit comments