Whitespace tweaks (newlines)

Consistency: empty line before each prompt, but not after.
This commit is contained in:
Juerd Waalboer 2019-11-06 19:13:12 +01:00
parent 32e84f3725
commit 464a6db78c
2 changed files with 3 additions and 3 deletions

View file

@ -29,7 +29,7 @@ sub hook_cart_changed {
my $sum = $cart->sum;
my $what = $sum > 0 ? "add %.2f" : "pay %.2f";
say sprintf "Enter username to $what; type 'abort' to abort.\n", abs $sum;
say sprintf "Enter username to $what; type 'abort' to abort.", abs $sum;
}
sub hook_abort {

View file

@ -125,12 +125,12 @@ RevBank::Plugins->load;
call_hooks("startup");
OUTER: for (;;) {
print "\n" if not @words;
if (not @words) {
call_hooks("cart_changed", $cart) if $cart->changed;
}
print "\n" if not @words;
my $split_input = 1;
my $prompt = "";
my @plugins = RevBank::Plugins->new;