Open
Description
The Problem
I am unable to create a web based script editor with a terminal because both PSReadline and LegacyReadLine ultimately call Console.GetKey and Console.Write, causing the input and output to be mapped to the calling process’s Console.
Suggested Fix
Add a -UseUnderlyingHostReadline switch and change the following code:
**
To call _underlyingHostUI.ReadLine() if -UseUnderlyingHostReadline is specified