Skip to content

Commit

Permalink
Merge pull request joncampbell123#4519 from maxpat78/master
Browse files Browse the repository at this point in the history
Update shell_cmds.cpp
  • Loading branch information
joncampbell123 authored Oct 9, 2023
2 parents a4a3662 + 9359ac2 commit 2a1ea2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shell/shell_cmds.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3442,6 +3442,7 @@ void DOS_Shell::CMD_CHOICE(char * args){
} while (!c || !(ptr = strchr(rem,(optS?c:toupper(c)))));
c = optS?c:(uint8_t)toupper(c);
DOS_WriteFile (STDOUT,&c, &n);
c = '\r'; DOS_WriteFile (STDOUT,&c, &n);
c = '\n'; DOS_WriteFile (STDOUT,&c, &n);
dos.return_code = (uint8_t)(ptr-rem+1);
}
Expand Down

0 comments on commit 2a1ea2d

Please sign in to comment.