We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b035bdc commit 29d8b11Copy full SHA for 29d8b11
plugins/plugin-client-common/src/components/Views/Terminal/Block/TabCompletion.tsx
@@ -151,7 +151,7 @@ export abstract class TabCompletionState {
151
152
this.input.setState({
153
tabCompletion:
154
- completions.length === 0
+ !completions || completions.length === 0
155
? undefined
156
: completions.length === 1
157
? new TabCompletionStateWithSingleSuggestion(this.input, completions[0])
0 commit comments