aboutsummaryrefslogtreecommitdiffstats
path: root/prompt_info/uberprompt.pl
diff options
context:
space:
mode:
authorTom Feist <shabble@metavore.org>2010-10-14 18:02:17 +0000
committerTom Feist <shabble@metavore.org>2010-10-14 18:02:17 +0000
commit46f32ac80dfc4d5542f0a01a1996d15d4ce11157 (patch)
tree428c0fba7159f9cf2b15e397031ca7a62bd9da1c /prompt_info/uberprompt.pl
parentswitched vim_mode to using uberprompt (diff)
downloadirssi-scripts-46f32ac80dfc4d5542f0a01a1996d15d4ce11157.tar.gz
irssi-scripts-46f32ac80dfc4d5542f0a01a1996d15d4ce11157.zip
fixed problem with uberprompt sometimes starting on RHS of input line.
Diffstat (limited to '')
-rw-r--r--prompt_info/uberprompt.pl8
1 files changed, 1 insertions, 7 deletions
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 {