From 10aff45bfeab4ec714fc44bf71ef9cc6c306f89b Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Fri, 26 Jun 2009 20:33:58 -0500 Subject: need to update the screen before getting it --- lib/Net/Termcast.pm | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3