PowerShellEditorServices icon indicating copy to clipboard operation
PowerShellEditorServices copied to clipboard

Move prompt gathering out of GetSessionDetails

Open daviwil opened this issue 8 years ago • 1 comments

When I introduced the concept of gathering session details after each command that gets run, I rolled prompt gathering into that to avoid running yet another command each time a prompt is needed. It seems that this causes more problems than necessary because a prompt function that throws errors does not get handled correctly anymore.

I'll move prompt gathering back out into the ConsoleService so that we can check for errors and return a default prompt appropriately.

daviwil avatar Apr 06 '17 02:04 daviwil

Related to this issue comment: https://github.com/PowerShell/vscode-powershell/issues/652#issuecomment-292048745

daviwil avatar Apr 06 '17 02:04 daviwil