Remove useless code

This commit is contained in:
Marc André Tanner 2014-03-06 18:54:45 +01:00
parent 37a2a9d946
commit 5dbe797f0c
2 changed files with 0 additions and 6 deletions

View File

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

View File

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