PS version: 6.0.0-beta
PSReadline version: 1.2
os: 10.0.15063.0 (WinBuild.160101.0800)
PS file version:
Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete
then use Tab to cycle between items.
This is fixed in the ansi_render branch - I'm not sure when it will be ready for release, but you can try it out now - build it yourself or grab a build out of appveyor. There is some extra work to drop these bits into PSCore (compared to Windows PowerShell), but it's somewhat obvious - you are just replacing the binaries.
Thanks! I'll try it out.
I can still reproduce the issue in the module version bundled with the released PowerShell Core 6.0. What actions should we take next? Should I file a bug to PowerShell Core repo?
Run Install-Module PSReadLine -Force -AllowClobber -AllowPrerelease
and you'll have the 2.0.0-beta1 with the fix.
Yes, it fixed the issue, thanks!
That install command fails on Linux. Do you recommend running pwsh with sudo and then run that command or just install per user? Hmm, I've tried both of these scenarios in WSL/Ubuntu 16.04 with 6.0.0 GA installed and neither result in PSRL 2.0.0-beta1 getting loaded at startup.
Most helpful comment
Run
Install-Module PSReadLine -Force -AllowClobber -AllowPrerelease
and you'll have the 2.0.0-beta1 with the fix.