App-VTide
view release on metacpan or search on metacpan
lib/App/VTide/Command/NewWindow.pm view on Meta::CPAN
sub run {
my ($self) = @_;
my $terminals = $self->config->get->{terminals};
my $number = $self->defaults->{number};
my $term = $terminals->{$number};
# list panes in current session
# $ tmux list-panes -s
# 1.0: [180x96] [history 3781/4096, 2233336 bytes] %213 (active)
# 1.1: [180x24] [history 2856/4096, 2107575 bytes] %214
# 1.2: [180x71] [history 0/4096, 4236 bytes] %216
# 2.0: [361x96] [history 291/4096, 366910 bytes] %217 (active)
# 3.0: [361x96] [history 579/4096, 903096 bytes] %218 (active)
# 4.0: [361x96] [history 1467/4096, 2054430 bytes] %219 (active)
# 5.0: [361x96] [history 0/4096, 6591 bytes] %220 (active)
# 6.0: [361x96] [history 0/4096, 6591 bytes] %221 (active)
# 7.0: [361x96] [history 0/4096, 6591 bytes] %222 (active)
# 8.0: [361x96] [history 0/4096, 6591 bytes] %223 (active)
# 9.0: [361x96] [history 0/4096, 6591 bytes] %224 (active)
# 10.0: [361x96] [history 0/4096, 6591 bytes] %225 (active)
( run in 0.409 second using v1.01-cache-2.11-cpan-88abd93f124 )