#include #include #include #include #include #include #include "ecran.h" int verbosity; /* ---------------------------------------------------------------- */ int message(char *txt) { static int pass = 0; fprintf(stderr, "%s [%s]\n", __func__, txt); standout(); mvhline(LINES-1, 0, '~', COLS); mvaddch(LINES-1, 0, "\\|/-"[(pass++)%4]); mvaddstr(LINES-1, 2, txt); standend(); refresh(); return 0; } /* ---------------------------------------------------------------- */ void barre_inverse(char c, int ligne) { int foo; standout(); for (foo=0; foo