Get-History not working properly when using up or down keys
Issue Description
When using up and down arrows it will enumerate the empty history. If you look at the get-History it contains empty values. This is not the case when using Powershell shell.

This is also causing an issue when running a selected part of the script with F8. When more then one line is selected to run this is kept in the history therefore obstructing the view for the next line.

I want also to ask if there is a possibility to specify "terminal.integrated.shell.windows": "c:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe", to be set to "PowerShell Integrated" shell rather then Powershell so I could open multiple integrated shells and to use only one $profile file to run.
System Details
PS C:> code -v 1.10.2 8076a19fdcab7e1fc1707952d652f0bb6c6db331 PS C:> $pseditor.EditorServicesVersion PS C:> code --list-extensions --show-versions [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] PS C:> $PSVersionTable
Name Value
PSVersion 5.0.10586.117 PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 10.0.10586.117 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1
Thanks Marek! Closing this as a duplicate of #618, I'll be fixing this soon.