Change main prompt to "> ".

This shifts the reader's focus to the messages from plugins, such as the
instruction to enter your username to pay.

It also looks nicer next to the new cleaner transaction overviews.
This commit is contained in:
Juerd Waalboer 2019-11-05 03:14:41 +01:00
parent 7c32eaeb3f
commit 60f413eb73

View file

@ -50,7 +50,7 @@ sub prompt {
my ($prompt, $plugins, $completions) = @_;
$prompt =~ s/$/: /;
$prompt =~ s/\?: $/? /;
$prompt =~ s/([?>]): $/$1 /;
my @matches;
$readline->Attribs->{completion_entry_function} = sub {
@ -127,7 +127,7 @@ OUTER: for (;;) {
}
my $split_input = 1;
my $prompt = "Product ID, amount or command";
my $prompt = ">";
my @plugins = RevBank::Plugins->new;
my $method = "command";