From 5dbe797f0ce6cda46446b4f4e30a97825350ed03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 6 Mar 2014 18:54:45 +0100 Subject: [PATCH] Remove useless code --- abduco.c | 1 - client.c | 5 ----- 2 files changed, 6 deletions(-) diff --git a/abduco.c b/abduco.c index 46ae096..094908c 100644 --- a/abduco.c +++ b/abduco.c @@ -318,7 +318,6 @@ static bool attach_session(const char *name) { cur_term.c_cc[VTIME] = 0; tcsetattr(0, TCSADRAIN, &cur_term); - client_clear_screen(); int status = client_mainloop(); if (status == -1) { info("detached"); diff --git a/client.c b/client.c index 8ace58f..b2b0080 100644 --- a/client.c +++ b/client.c @@ -66,11 +66,6 @@ error: return false; } -static void client_clear_screen() { - printf("\e[H\e[J"); - fflush(stdout); -} - static void client_show_cursor() { printf("\e[?25h"); fflush(stdout);