dragon: reset static done flag, erp

This commit is contained in:
nick black 2020-06-13 00:13:09 -04:00
parent 068b1c952a
commit ee73df3059
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -43,6 +43,7 @@ dragonmayer(struct ncvisual* ncv, const char* str, int iters){
}
int dragon_demo(struct notcurses* nc){
done = false;
int dimy, dimx;
struct ncplane* n = notcurses_stddim_yx(nc, &dimy, &dimx);
// we use a Lindenmayer string rewriting system. the classic dragon curve