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:
parent
7c32eaeb3f
commit
60f413eb73
1 changed files with 2 additions and 2 deletions
4
revbank
4
revbank
|
@ -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";
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue