From 46f32ac80dfc4d5542f0a01a1996d15d4ce11157 Mon Sep 17 00:00:00 2001 From: Tom Feist Date: Thu, 14 Oct 2010 19:02:17 +0100 Subject: fixed problem with uberprompt sometimes starting on RHS of input line. --- prompt_info/uberprompt.pl | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'prompt_info/uberprompt.pl') diff --git a/prompt_info/uberprompt.pl b/prompt_info/uberprompt.pl index 79717ae..76660b2 100644 --- a/prompt_info/uberprompt.pl +++ b/prompt_info/uberprompt.pl @@ -335,13 +335,7 @@ sub restore_prompt_items { print "Restoring original prompt" if DEBUG; - _sbar_command('prompt', 'add', 'prompt', - qw/-alignment left -before input -priority '-1'/); - _sbar_command('prompt', 'add', 'prompt_empty', - qw/-alignment left -after prompt -priority '-1'/); - - _sbar_command('prompt', 'position', '100'); - + _sbar_command('prompt', 'reset'); } sub _sbar_command { -- cgit v1.2.3