Skip to content

Polish things up #1

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 3 commits into from
May 22, 2023
Merged

Polish things up #1

merged 3 commits into from
May 22, 2023

Conversation

tannewt
Copy link
Member

@tannewt tannewt commented May 12, 2023

No description provided.

@tannewt tannewt requested a review from a team May 12, 2023 21:02
Copy link

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

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

I looked at the upstream library and I didn't see a keyword arg named input or input_ (or output either).

The renaming of input to input_ seems kind of confusing, and I see it as something that will need to be explained. Could you pick a different set of names that are consistent, prompt_input, or command_input, or something like that?

@tannewt
Copy link
Member Author

tannewt commented May 22, 2023

I looked at the upstream library and I didn't see a keyword arg named input or input_ (or output either).

It is here: https://github.com/prompt-toolkit/python-prompt-toolkit/blob/5b3dd6dbbd72ac8323e749cc12e6aa2d7c7411af/src/prompt_toolkit/shortcuts/prompt.py#L409

@dhalbert
Copy link

@tannewt aaaahhh -- too bad they did that. :)

Copy link

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

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

Did not test, changes look fine.

@tannewt tannewt merged commit 824a589 into adafruit:main May 22, 2023
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.

2 participants