diff options
Diffstat (limited to 'feature-tests/redir-input.pl')
-rw-r--r-- | feature-tests/redir-input.pl | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/feature-tests/redir-input.pl b/feature-tests/redir-input.pl new file mode 100644 index 0000000..94ca523 --- /dev/null +++ b/feature-tests/redir-input.pl @@ -0,0 +1,30 @@ +use strict; +use warnings; + + +use Irssi; +use Irssi::Irc; +use Irssi::TextUI; + +use Data::Dumper; + + +our $VERSION = '0.1'; +our %IRSSI = ( + authors => 'shabble', + contact => 'shabble+irssi@metavore.org', + name => '', + description => '', + license => 'Public Domain', + ); + + +Irssi::command_bind("ri", \&cmd_ri); + +sub cmd_ri { + my ($args, $server, $witem) = @_; + my $win = Irssi::active_win(); + + #my $ref = Irssi::windows_refnum_last + $win->format_create_dest(Irssi::MSGLEVEL_ClIENTCRAP()); +} |