From: Michał Bartoszkiewicz Date: Thu, 12 Feb 2015 17:39:32 +0000 (+0100) Subject: Buforujmy wyjście całkowicie X-Git-Url: https://git.bzium.org/embe/choinka.git/commitdiff_plain/13a338429fb903374dab8aeecdf09383b0aab5ca?ds=sidebyside Buforujmy wyjście całkowicie --- diff --git a/choinka.c b/choinka.c index 7f64945..4865cff 100644 --- a/choinka.c +++ b/choinka.c @@ -83,6 +83,7 @@ static void ustaw(atrybut const* attr) int main() { + setvbuf(stdout, NULL, _IOFBF, BUFSIZ); inicjuj_rng(); setupterm(NULL, 1, NULL); atrybut const* kolor = &choinka;