aboutsummaryrefslogtreecommitdiffstats
path: root/prompt_info/uberprompt.pl
diff options
context:
space:
mode:
authorTom Feist <shabble@metavore.org>2010-10-13 01:16:08 +0000
committerTom Feist <shabble@metavore.org>2010-10-13 01:16:08 +0000
commit80305f6c0c471acc643882281829a5c391310552 (patch)
tree7a9f470ba928885257ae97a4cbe302a49ab3aae0 /prompt_info/uberprompt.pl
parentadded documentation, debug setting: 'scrollminder_debug', partially updated to (diff)
downloadirssi-scripts-80305f6c0c471acc643882281829a5c391310552.tar.gz
irssi-scripts-80305f6c0c471acc643882281829a5c391310552.zip
fix to uberprompt calling the wrong draw function from signalhandlers
Diffstat (limited to 'prompt_info/uberprompt.pl')
-rw-r--r--prompt_info/uberprompt.pl8
1 files 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')) {