Skip to content
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

Handle pastes for other repl modes that don't end in newlines #40819

Merged

Conversation

IanButterworth
Copy link
Member

In testing the nightly I realized that single line pastes not ending in a newline slipped through in #40604

i.e. pasting this in without a newline at the end should result in a mode switch and command paste but no execution

pkg> st

This PR fixes that for the pkg, shell, help? modes.
I can't see an obvious way for no newline examples to be added to the test suite.

@IanButterworth
Copy link
Member Author

I double-checked the binary from the tests and the issue is resolved

@IanButterworth IanButterworth merged commit be6887f into JuliaLang:master May 14, 2021
@IanButterworth IanButterworth deleted the ib/repl_pasting_no_newlines branch May 14, 2021 03:46
shirodkara pushed a commit to shirodkara/julia that referenced this pull request Jun 9, 2021
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