diff options
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); |