# this hack needed for trackbar.pl use strict; use Irssi qw(signal_add command); signal_add('window changed' => sub { command "redraw"; });