summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/App/Termcast.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/App/Termcast.pm b/lib/App/Termcast.pm
index 629f78b..62aca38 100644
--- a/lib/App/Termcast.pm
+++ b/lib/App/Termcast.pm
@@ -150,7 +150,10 @@ sub _build_socket {
}
}
+ chomp( my ($cols, $lines) = (`tput cols`, `tput lines`) );
+
$socket->syswrite($self->establishment_message);
+ $socket->syswrite("geom $cols $lines\nfinish\n\e[H\e[2J");
# ensure the server accepted our connection info
# can't use _build_select_args, since that would cause recursion