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 empty lines not being processed #916

Merged
merged 1 commit into from
Apr 24, 2019
Merged

Conversation

pyrmont
Copy link
Contributor

@pyrmont pyrmont commented Apr 23, 2019

As described in #661, Planck has a bug where an empty line after a backslash is not processed and so does not produce the correct output (a newline character). This was due to the fact a newline by itself appears to the REPL as an empty string. This PR detects that and processes it properly. This fixes #661.

As described in planck-repl#661, Planck has a bug where an empty line after a
backslash is not processed and so does not produce the correct output (a
newline character). This was due to the fact a newline by itself appears
to the REPL as an empty string. This commit detects that and processes
it properly. This fixes planck-repl#661.
@mfikes mfikes merged commit b6a41a4 into planck-repl:master Apr 24, 2019
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.

Backslash return return should produce "\n"
2 participants