File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
src/vs/workbench/contrib/terminal/browser Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -1020,13 +1020,7 @@ export class TerminalInstance extends Disposable implements ITerminalInstance {
1020
1020
inputActiveOptionBackground : this . _themeService . getColorTheme ( ) . getColor ( inputActiveOptionBackground )
1021
1021
} ) ;
1022
1022
fuzzySearchToggle . onChange ( ( ) => {
1023
- if ( fuzzySearchToggle . checked ) {
1024
- quickPick . hide ( ) ;
1025
- this . runRecent ( type , 'fuzzy' , quickPick . value ) ;
1026
- } else {
1027
- quickPick . hide ( ) ;
1028
- this . runRecent ( type , 'contiguous' , quickPick . value ) ;
1029
- }
1023
+ this . runRecent ( type , fuzzySearchToggle . checked ? 'fuzzy' : 'contiguous' , quickPick . value ) ;
1030
1024
} ) ;
1031
1025
const outputProvider = this . _instantiationService . createInstance ( TerminalOutputProvider ) ;
1032
1026
const quickPick = this . _quickInputService . createQuickPick < IQuickPickItem & { rawLabel : string } > ( ) ;
You can’t perform that action at this time.
0 commit comments