diff options
Diffstat (limited to 'lib/App/Termcast.pm')
-rw-r--r-- | lib/App/Termcast.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/App/Termcast.pm b/lib/App/Termcast.pm index 62aca38..9ac3a8d 100644 --- a/lib/App/Termcast.pm +++ b/lib/App/Termcast.pm @@ -150,7 +150,7 @@ sub _build_socket { } } - chomp( my ($cols, $lines) = (`tput cols`, `tput lines`) ); + my ($cols, $lines) = GetTerminalSize(); $socket->syswrite($self->establishment_message); $socket->syswrite("geom $cols $lines\nfinish\n\e[H\e[2J"); |