diff --git a/testing/nTox.c b/testing/nTox.c index 013afcc4..937d9d54 100644 --- a/testing/nTox.c +++ b/testing/nTox.c @@ -64,6 +64,9 @@ void line_eval(char lines[HISTORY][STRING_LENGTH], char *line) } int num = atoi(numstring); m_sendmessage(num, (uint8_t*) message, sizeof(message)); + } else if (line[1] == 'q') { //exit + endwin(); + exit(EXIT_SUCCESS); } } else { //new_lines(line);