Skip to content

skip "\n" from $stdin before showing prompt #1147

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ko1
Copy link
Collaborator

@ko1 ko1 commented Jun 13, 2025

Any input into $stdin before showing prompt will be appear on the next prompt, and entering new empty line will dispatch previous command.

This patch consumes empty lines ("\n"+) from $stdin just before showing the prompt.

Any input into `$stdin` before showing prompt will be appear
on the next prompt, and entering new empty line will dispatch
previous command.

This patch consumes empty lines ("\n"+) from $stdin
just before showing the prompt.
Copy link

launchable-app bot commented Jun 13, 2025

Tests Failed

✖️no tests failed ✔️675 tests passed(5 flakes)

@ko1
Copy link
Collaborator Author

ko1 commented Jun 17, 2025

Not sure but we need to revisit testing framework.

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.

1 participant