Skip to content

Replace _consoleHostUI with _underlyingHostUI #1746

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

Merged
merged 1 commit into from
Mar 24, 2022

Conversation

andyleejordan
Copy link
Member

And stop using reflection to find _externalUI. This is not necessary in order to reuse PowerShell's built-in prompt logic (which was its original goal). Unfortunately this doesn't fix the issues it was written in an attempt to fix, but it does remove unnecessary reflection logic.

And stop using reflection to find `_externalUI`.
@dkattan
Copy link
Contributor

dkattan commented Mar 22, 2022

While you're at it, can we have the ability to bring our own ReadLine and ReadKey and not forcefully use the given implementations? The current implementations ultimately hardcode Console.ReadKey()

@andyleejordan
Copy link
Member Author

@dkattan Definitely something I'm looking at!

Copy link
Collaborator

@SeeminglyScience SeeminglyScience left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@andyleejordan andyleejordan merged commit cae6b99 into master Mar 24, 2022
@andyleejordan andyleejordan deleted the andschwa/wip-underlyingui branch March 24, 2022 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants