Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix extra newline after prompt
Signed-off-by: Keith Packard <keithp@keithp.com>
  • Loading branch information
dottedmag authored and keith-packard committed Feb 22, 2020
1 parent ab73f26 commit 1c47436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ports/ev3/snek-main.c
Expand Up @@ -42,7 +42,7 @@ snek_getc_interactive(void)
char *prompt = "> ";
if (snek_parse_middle)
prompt = "+ ";
puts(prompt);
fputs(prompt, stdout);
line = fgets(line_base, 4096, stdin);
if (!line)
return EOF;
Expand Down

0 comments on commit 1c47436

Please sign in to comment.