Merge pull request #154 from xistance21/master

Add invalid command
This commit is contained in:
irungentoo 2013-07-30 04:23:11 -07:00
commit 0c251d4b1d

View File

@ -154,8 +154,11 @@ void line_eval(char lines[HISTORY][STRING_LENGTH], char *line)
else if (line[1] == 'q') { //exit
endwin();
exit(EXIT_SUCCESS);
} else {
new_lines("[i] invalid command");
}
} else {
new_lines("[i] invalid command");
//new_lines(line);
}
}