Langton's ant: Difference between revisions

m
→‎{{header|C}}: remove occasional artifact
(rephrased desc)
m (→‎{{header|C}}: remove occasional artifact)
Line 47:
 
x += dx, y += dy;
printf("\033[%d;%dH\033[31m@\033[m", y + 1, x + 1);
 
k = 0;
Line 72 ⟶ 71:
}
if (k) refresh(x, y);
printf("\033[%d;%dH\033[31m@\033[m", y + 1, x + 1);
 
fflush(stdout);
Anonymous user