Closed 2bndy5 closed 1 month ago
/home/runner/work/RF24Mesh/RF24Mesh/RF24Mesh/examples_RPi/ncurses/RF24Mesh_Ncurses_Master.cpp:219:56: warning: zero-length gnu_printf format string [-Wformat-zero-length] 219 | mvwprintw(topoPad, nodeY > 15 ? nodeY - 16 : 0, 0, ""); | ^~
I'm a little fuzzy on curses API. I think this warning implies that we could simply move the cursor to a position inside the specified "window" using mvwaddch()
instead of a printf-like function.
- mvwprintw(topoPad, nodeY > 15 ? nodeY - 16 : 0, 0, "");
+ mvwaddch(topoPad, nodeY > 15 ? nodeY - 16 : 0, 0, 0);
Just a self-reminder really.