From 337d87a3ef02be3cc3bf6525f22022f113c43fbc Mon Sep 17 00:00:00 2001 From: Jfreegman Date: Sun, 4 Aug 2013 05:32:53 -0400 Subject: [PATCH] already a pull request with this addition --- prompt.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/prompt.c b/prompt.c index 365aee4..3fa9d77 100644 --- a/prompt.c +++ b/prompt.c @@ -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 : Set your nickname\n"); wprintw(self->window, " accept : 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");