diff options
-rw-r--r-- | testing/toxic/prompt.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/testing/toxic/prompt.c b/testing/toxic/prompt.c index 365aee49..3fa9d77c 100644 --- a/testing/toxic/prompt.c +++ b/testing/toxic/prompt.c | |||
@@ -253,9 +253,6 @@ static void execute(ToxWindow* self, char* cmd) { | |||
253 | } | 253 | } |
254 | } | 254 | } |
255 | 255 | ||
256 | else if (!strncmp(cmd, "clear", strlen("clear"))) { | ||
257 | wclear(self->window); | ||
258 | } | ||
259 | else { | 256 | else { |
260 | wprintw(self->window, "Invalid command.\n"); | 257 | wprintw(self->window, "Invalid command.\n"); |
261 | } | 258 | } |
@@ -315,7 +312,6 @@ static void print_usage(ToxWindow* self) { | |||
315 | wprintw(self->window, " nick <nickname> : Set your nickname\n"); | 312 | wprintw(self->window, " nick <nickname> : Set your nickname\n"); |
316 | wprintw(self->window, " accept <number> : Accept friend request\n"); | 313 | wprintw(self->window, " accept <number> : Accept friend request\n"); |
317 | wprintw(self->window, " myid : Print your ID\n"); | 314 | wprintw(self->window, " myid : Print your ID\n"); |
318 | wprintw(self->window, " clear : Clear the screen\n"); | ||
319 | wprintw(self->window, " quit/exit : Exit program\n"); | 315 | wprintw(self->window, " quit/exit : Exit program\n"); |
320 | wprintw(self->window, " help : Print this message again\n"); | 316 | wprintw(self->window, " help : Print this message again\n"); |
321 | 317 | ||