From 622ac229fa221424b745fc9986351a90e4b24b99 Mon Sep 17 00:00:00 2001 From: Tom Feist Date: Mon, 8 Nov 2010 19:55:57 +0000 Subject: fix for prompt_ifno users upgrading to uberprompt without restart (hopefully) --- prompt_info/uberprompt.pl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'prompt_info/uberprompt.pl') 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); -- cgit v1.2.3