microsoft / inshellisense

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

fix: stale suggestion appearing after command execution #185

Closed cpendery closed 3 months ago

cpendery commented 3 months ago

When executing a command with live suggestions git, the suggestions were appearing after command execution due to a race condition. This fixes that by applying a manual check after the promise is resolved that the suggestion should still be provided