diff options
| author | Tom Feist <shabble@metavore.org> | 2010-11-08 19:57:36 +0000 | 
|---|---|---|
| committer | Tom Feist <shabble@metavore.org> | 2010-11-08 19:57:36 +0000 | 
| commit | 13253a2c9a8943397a707d86fd2e3dfb6c9f2967 (patch) | |
| tree | d5ac2cfadac93cc79ede6a103d1857ac284966e9 /scrolled-reminder | |
| parent | fix for prompt_ifno users upgrading to uberprompt without restart (hopefully) (diff) | |
| download | irssi-scripts-13253a2c9a8943397a707d86fd2e3dfb6c9f2967.tar.gz irssi-scripts-13253a2c9a8943397a707d86fd2e3dfb6c9f2967.zip | |
comment and code cleanup
Diffstat (limited to 'scrolled-reminder')
| -rw-r--r-- | scrolled-reminder/scrolled_reminder.pl | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/scrolled-reminder/scrolled_reminder.pl b/scrolled-reminder/scrolled_reminder.pl index b1deb9c..fcf4548 100644 --- a/scrolled-reminder/scrolled_reminder.pl +++ b/scrolled-reminder/scrolled_reminder.pl @@ -79,7 +79,7 @@ our %IRSSI =                    . 'tree/master/scrolled-reminder/',               ); -# check we have prompt_info loaded. +# check we have uberprompt loaded.  sub script_is_loaded {      my $name = shift; @@ -111,9 +111,9 @@ sub scroll_reminder_init {      Irssi::settings_add_bool('scrollminder', 'scrollminder_debug', 0);      # we need to be first so we can intercept stuff. -    Irssi::signal_add_first('send text', \&handle_send_text); -    Irssi::signal_add_first('gui key pressed', \&handle_keypress); -    Irssi::signal_add('setup changed' => \&setup_changed); +    Irssi::signal_add_first('send text'       => \&handle_send_text); +    Irssi::signal_add_first('gui key pressed' => \&handle_keypress); +    Irssi::signal_add('setup changed'         => \&setup_changed);      setup_changed();  } @@ -214,7 +214,7 @@ sub handle_keypress {          # and restore the prompt          set_prompt(''); -    } elsif ($key == 32) { +    } elsif ($key == 32) { # space          $pending_input->{win_item}->command("scrollback end");          Irssi::signal_stop(); | 
