Code: Select all
mvprintw(LINES - 1, 0, info);
Code: Select all
mvprintw(LINES - 1, 0, prompt);
I found a solution at https://stackoverflow.com/questions/441 ... 47#4419347 where someone says
Doing a similar rewrite for the mvprintw calls indeed solves the problem.To avoid the warning and possible attack vectors you can also use printf("%s", str);.
TomeNET compiles and works for me now, but I thought this may be worth repairing upstream.