-
Notifications
You must be signed in to change notification settings - Fork 237
Open
Labels
Area-ReadLineIssue-BugA bug to squash.A bug to squash.Up for GrabsWill shepherd PRs.Will shepherd PRs.
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:
**
Line 86 in bd34695
public override string ReadLine() => _readLineProvider.ReadLine.ReadLine(CancellationToken.None); |
To call _underlyingHostUI.ReadLine() if -UseUnderlyingHostReadline is specified
pinuke
Metadata
Metadata
Assignees
Labels
Area-ReadLineIssue-BugA bug to squash.A bug to squash.Up for GrabsWill shepherd PRs.Will shepherd PRs.
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
andyleejordan commentedon Sep 8, 2022
Linking PR #1748