mirror of
https://github.com/PowerShell/PSReadLine
synced 2026-06-08 12:12:13 +00:00
I was terribly inconsistent. This is a breaking change, though unlikely to cause troubles. The apis are mostly used in PowerShell scripts which is not case sensitive. The cmdlet name change is also mostly safe. At any rate, this is version 2.0 and breaking changes should be OK.
6 lines
175 B
PowerShell
6 lines
175 B
PowerShell
function PSConsoleHostReadLine
|
|
{
|
|
Microsoft.PowerShell.Core\Set-StrictMode -Off
|
|
[Microsoft.PowerShell.PSConsoleReadLine]::ReadLine($host.Runspace, $ExecutionContext)
|
|
}
|