fix the 'message' function
This commit is contained in:
parent
2f5617d3b4
commit
a1aa750669
@ -15,7 +15,7 @@ int verbosity;
|
|||||||
int message(char *txt)
|
int message(char *txt)
|
||||||
{
|
{
|
||||||
standout();
|
standout();
|
||||||
mvaddstr(LINES, 2, txt);
|
mvaddstr(LINES-1, 2, txt);
|
||||||
standend();
|
standend();
|
||||||
refresh();
|
refresh();
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -54,8 +54,9 @@ water = open_waterfall("premier essai", 0);
|
|||||||
|
|
||||||
for (loop=0; loop<nbl; loop++) {
|
for (loop=0; loop<nbl; loop++) {
|
||||||
|
|
||||||
sprintf(line, "%06X %04X", loop, rand()&0xffff);
|
sprintf(line, " %06X %04X ", loop, rand()&0xffff);
|
||||||
mvwaddstr(stdscr, LINES-1, 1, line);
|
message(line);
|
||||||
|
|
||||||
wrefresh(stdscr);
|
wrefresh(stdscr);
|
||||||
|
|
||||||
for (foo=0; foo<4; foo++) {
|
for (foo=0; foo<4; foo++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user