Skip to content

Get-History not working properly when using up or down keys #688

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
marekciel opened this issue Apr 19, 2017 · 1 comment
Closed

Get-History not working properly when using up or down keys #688

marekciel opened this issue Apr 19, 2017 · 1 comment

Comments

@marekciel
Copy link

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.

codeissue2

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.

codeissue1

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

@daviwil
Copy link
Contributor

daviwil commented Apr 25, 2017

Thanks Marek! Closing this as a duplicate of #618, I'll be fixing this soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants