Skip to content

Commit 7c4e7a6

Browse files
committed
Remove setvbuf
The setvbuf remained because of previous tests and was overlooked.
1 parent 336a50e commit 7c4e7a6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

main.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ void print_machine(const struct TuringMachine* const machine, const size_t view_
1313

1414

1515
printf("..., ");
16-
setvbuf(stdout, NULL, _IOLBF, 0);
17-
1816
for(long i = tape->cursor - (view_width / 2); i < top; ++i) {
1917
printf(
2018
i == (long)tape->cursor ? "\033[31m%s\033[0m, " : "%s, ",

0 commit comments

Comments
 (0)