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

fix: ensure bracketed_paste_python last line check works correctly #409

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

Conversation

FelipeCybis
Copy link

This ensures that the last line check in results inside bracketed_paste_python function is not done on a nil value.

Even with this fix, ipython was not executing the code that was sent to the repl, so I also fixed the newline command. This was a bit of trial and error, so if there is some parts I did not understand of the parsing of the code (very probable), please tell me :)

Before fix

image

After fix

image

- Adjusted newline handling to account for ipython on Windows.
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.

Attempt to index a nil value in bracketed_paste_python (Windows)
1 participant