We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df5d9c7 commit f35b5d2Copy full SHA for f35b5d2
1 file changed
stmhal/pyexec.c
@@ -141,9 +141,9 @@ int pyexec_raw_repl(void) {
141
} else if (c == CHAR_CTRL_D) {
142
// input finished
143
break;
144
- } else if (c <= 127) {
145
- // let through any other ASCII character
146
- vstr_add_char(&line, c);
+ } else {
+ // let through any other raw 8-bit value
+ vstr_add_byte(&line, c);
147
}
148
149
0 commit comments