Skip to content
Snippets Groups Projects
Commit f35b5d28 authored by Damien George's avatar Damien George
Browse files

stmhal/pyexec.c: Make raw REPL mode 8-bit clean.

parent df5d9c77
Branches
No related tags found
No related merge requests found
...@@ -141,9 +141,9 @@ raw_repl_reset: ...@@ -141,9 +141,9 @@ raw_repl_reset:
} else if (c == CHAR_CTRL_D) { } else if (c == CHAR_CTRL_D) {
// input finished // input finished
break; break;
} else if (c <= 127) { } else {
// let through any other ASCII character // let through any other raw 8-bit value
vstr_add_char(&line, c); vstr_add_byte(&line, c);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment