|
char brainfuck_getchar() { |
|
char ch, t; |
|
ch = getchar(); |
|
while ((t = getchar()) != '\n' && t != EOF) { } /* Clear stdin */ |
|
return ch; |
|
} |
If we trust this repository, it's not like that in the original.
https://gist.github.com/rdebath/0ca09ec0fdcf3f82478f#file-bfi-c-L19
brainfuck/src/brainfuck.c
Lines 565 to 570 in 71c0e0c
If we trust this repository, it's not like that in the original.
https://gist.github.com/rdebath/0ca09ec0fdcf3f82478f#file-bfi-c-L19