Skip to content

Commit

Permalink
Send a CR-LF so that the cursor moves back left, in all serial terminals
Browse files Browse the repository at this point in the history
We noticed that it wasn't happening in tio
  • Loading branch information
stefanor committed Nov 26, 2017
1 parent 8e77d90 commit d1ef716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firmware/ci.c
Expand Up @@ -276,7 +276,7 @@ static char *readstr(void)
break;
case '\r':
s[ptr] = 0x00;
wputsnonl("\n");
wputsnonl("\r\n");
ptr = 0;
return s;
default:
Expand Down

0 comments on commit d1ef716

Please sign in to comment.