1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-07-03 16:27:46 +02:00

already a pull request with this addition

This commit is contained in:
Jfreegman 2013-08-04 05:32:53 -04:00
parent 18dcb06920
commit 337d87a3ef

View File

@ -253,9 +253,6 @@ static void execute(ToxWindow* self, char* cmd) {
}
}
else if (!strncmp(cmd, "clear", strlen("clear"))) {
wclear(self->window);
}
else {
wprintw(self->window, "Invalid command.\n");
}
@ -315,7 +312,6 @@ static void print_usage(ToxWindow* self) {
wprintw(self->window, " nick <nickname> : Set your nickname\n");
wprintw(self->window, " accept <number> : Accept friend request\n");
wprintw(self->window, " myid : Print your ID\n");
wprintw(self->window, " clear : Clear the screen\n");
wprintw(self->window, " quit/exit : Exit program\n");
wprintw(self->window, " help : Print this message again\n");