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);