diff options
| author | Obfuscoder | 2014-10-24 23:01:30 +0200 | 
|---|---|---|
| committer | Obfuscoder | 2014-10-24 23:01:30 +0200 | 
| commit | 55e10f5aeb6d0559518623a432263d4a73d7614b (patch) | |
| tree | c8125ac40ada1411c240cd68d6535d532849e631 /scripts/twprompt.pl | |
| parent | ff9a44047a299bce4995c22fd6f15851e1b065ee (diff) | |
| download | scripts.irssi.org-55e10f5aeb6d0559518623a432263d4a73d7614b.tar.bz2 | |
Fix perlcritic issues for all scripts starting with s to z
Diffstat (limited to 'scripts/twprompt.pl')
| -rw-r--r-- | scripts/twprompt.pl | 7 | 
1 files changed, 5 insertions, 2 deletions
| diff --git a/scripts/twprompt.pl b/scripts/twprompt.pl index 0710419..0fc490a 100644 --- a/scripts/twprompt.pl +++ b/scripts/twprompt.pl @@ -1,8 +1,10 @@ +use strict;  use vars qw($VERSION %IRSSI);  use Irssi;  use Irssi::Irc; +use Irssi::TextUI; -$instrut = +my $instrut =    ".--------------------------------------------------.\n".    "| 1.) shell> mkdir ~/.irssi/scripts                |\n".    "| 2.) shell> cp twprompt.pl ~/.irssi/scripts/      |\n". @@ -38,6 +40,7 @@ $VERSION = '1.00';  my $twprompt_file = "$ENV{HOME}/.irssi/twprompt.data";  my $num = 1;  my $jk=0; +my $timeout;  sub reload { Irssi::statusbar_items_redraw('twprompt'); } @@ -49,7 +52,7 @@ sub setup {  sub show {     my ($item, $get_size_only) = @_; -   $text = get(); +   my $text = get();     $item->default_handler($get_size_only, "{prompt ".$text."}", undef, 1);  } | 
