Description: Replace deprecated function
Author: Syed Shahrukh Hussain <syed.shahrukh@ossrevival.org>

diff --git a/lib/prettyPrint.cpp b/lib/prettyPrint.cpp
index 60019a7..14bfb95 100644
--- a/lib/prettyPrint.cpp
+++ b/lib/prettyPrint.cpp
@@ -39,7 +39,7 @@ static int print(const char *fmt, ...) {
 	va_start(argp, fmt);
 
 	if(ncursesInit) {
-		code = vwprintw(stdscr, fmt, argp);
+		code = vw_printw(stdscr, fmt, argp);
 	} else {
 		code = vprintf(fmt, argp);
 	}
