From 60f413eb7318561bcd1565f83ae63945040de8ad Mon Sep 17 00:00:00 2001 From: Juerd Waalboer Date: Tue, 5 Nov 2019 03:14:41 +0100 Subject: [PATCH] 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. --- revbank | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/revbank b/revbank index a69bd71..2f895a4 100755 --- a/revbank +++ b/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";