replace snprintf with strncpy for passing MITM arguments in curses UI