From 80305f6c0c471acc643882281829a5c391310552 Mon Sep 17 00:00:00 2001 From: Tom Feist Date: Wed, 13 Oct 2010 02:16:08 +0100 Subject: fix to uberprompt calling the wrong draw function from signalhandlers --- prompt_info/uberprompt.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/prompt_info/uberprompt.pl b/prompt_info/uberprompt.pl index 390e8e5..3bb3155 100644 --- a/prompt_info/uberprompt.pl +++ b/prompt_info/uberprompt.pl @@ -174,10 +174,10 @@ sub init { reload_settings(); # make sure we redraw when necessary. - Irssi::signal_add('window changed', \&uberprompt_draw); - Irssi::signal_add('window name changed', \&uberprompt_draw); - Irssi::signal_add('window changed automatic', \&uberprompt_draw); - Irssi::signal_add('window item changed', \&uberprompt_draw); + Irssi::signal_add('window changed', \&uberprompt_refresh); + Irssi::signal_add('window name changed', \&uberprompt_refresh); + Irssi::signal_add('window changed automatic', \&uberprompt_refresh); + Irssi::signal_add('window item changed', \&uberprompt_refresh); # install our statusbars if required. if (Irssi::settings_get_bool('uberprompt_autostart')) { -- cgit v1.2.3