Commit 100004ee authored by stijn's avatar stijn Committed by Paul Sokolovsky
Browse files

unix: Print an extra newline to the output on ctrl-D

This assures the terminal prints it's prompt on a fresh line instead of
appending it to the uPy prompt after exit.
parent 6a664cb1
......@@ -52,6 +52,7 @@ char *prompt(char *p) {
if (ret == CHAR_CTRL_D) {
// EOF
return NULL;
} else {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment