-#if BUILD_TYPE == debug
-void dbg_mvprintw(int y, int x, const char* debug_text, ...) {
- va_list func_args;
- char debug_msg[256];
-
- snprintf(debug_msg, sizeof(debug_msg), "%s%s", "DEBUG: ", debug_text);
- va_start(func_args, debug_text);
- mvprintw(y, x, debug_msg, func_args);
- va_end(func_args);
-}
-#else
-void dbg_mvprintw(int y, int x, const char* debug_text, ...) { }
-#endif
-