1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-23 02:33:02 +01: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 { else {
wprintw(self->window, "Invalid command.\n"); 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, " nick <nickname> : Set your nickname\n");
wprintw(self->window, " accept <number> : Accept friend request\n"); wprintw(self->window, " accept <number> : Accept friend request\n");
wprintw(self->window, " myid : Print your ID\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, " quit/exit : Exit program\n");
wprintw(self->window, " help : Print this message again\n"); wprintw(self->window, " help : Print this message again\n");