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:55:57 +0000 |
commit | 622ac229fa221424b745fc9986351a90e4b24b99 (patch) | |
tree | 7777f60f328438932997d059525f68a82b04948c /prompt_info | |
parent | test_harness: cleaned up makefile, added note to de-OSXify it later (diff) | |
download | irssi-scripts-622ac229fa221424b745fc9986351a90e4b24b99.tar.gz irssi-scripts-622ac229fa221424b745fc9986351a90e4b24b99.zip |
fix for prompt_ifno users upgrading to uberprompt without restart (hopefully)
Diffstat (limited to 'prompt_info')
-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); |