Subject: | Tickit::Term ->input_wait warns on undef |
The documentation for ->input_wait still implies that undef is a valid parameter (if no timeout, return as soon as the input round completes).
However, this code in Tickit.pm warns:
sub _tick
{
my $self = shift;
my $timer_queue = $self->{timer_queue};
my $timeout;
if( @$timer_queue ) {
$timeout = $self->{timer_queue}[0]->time - time;
}
$self->{term}->input_wait( $timeout );