diff options
author | Tom Feist <shabble@metavore.org> | 2010-11-08 19:55:57 +0000 |
---|---|---|
committer | Tom Feist <shabble@metavore.org> | 2010-11-08 19:59:37 +0000 |
commit | cd581c06c1af2f93cd2ce93f2aa6c938944785b1 (patch) | |
tree | 5530fdcbd710c41d796a5df014aeb2ee91288d8d | |
parent | removed test/ dir since it was causing too much trouble (diff) | |
download | irssi-scripts-cd581c06c1af2f93cd2ce93f2aa6c938944785b1.tar.gz irssi-scripts-cd581c06c1af2f93cd2ce93f2aa6c938944785b1.zip |
fix for prompt_ifno users upgrading to uberprompt without restart (hopefully)
-rw-r--r-- | prompt_info/uberprompt.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/prompt_info/uberprompt.pl b/prompt_info/uberprompt.pl index 23786ab..9aa75b8 100644 --- a/prompt_info/uberprompt.pl +++ b/prompt_info/uberprompt.pl @@ -266,6 +266,9 @@ sub debug_prompt_changed { sub change_prompt_handler { my ($text, $pos) = @_; + # fix for people who used prompt_info and hence the signal won't + # pass the second argument. + $pos = 'UP_INNER' unless defined $pos; print "Got prompt change signal with: $text, $pos" if DEBUG; my ($changed_text, $changed_pos); |