microsoft / inshellisense

IDE style command line auto complete
MIT License
8.21k stars 179 forks source link

fix: reset index after getSuggestions #182

Closed alanhe421 closed 3 months ago

alanhe421 commented 4 months ago

I realized that the reset index logic I did before wasn't rigorous, so I adjusted the reset position.

The index should be reset when the complement is empty or when the complement is recalculated to get a value.

@cpendery thanks.

cpendery commented 3 months ago

Fixing #173