summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Net/Termcast.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Net/Termcast.pm b/lib/Net/Termcast.pm
index 1dfdeae..57bd6ae 100644
--- a/lib/Net/Termcast.pm
+++ b/lib/Net/Termcast.pm
@@ -105,6 +105,7 @@ sub select_session {
# XXX: these two should use color at some point
sub screen_rows {
my $self = shift;
+ $self->_get_screen;
my @rows;
push @rows, $self->_vt->row_plaintext($_) for 1..$self->rows;
return @rows;