Fix bug: double entries in history

Introduced in 2b0f8feb.
This commit is contained in:
Juerd Waalboer 2024-04-03 00:44:14 +02:00
parent 2b0f8febf0
commit c7c7977a80
2 changed files with 1 additions and 3 deletions

View file

@ -116,8 +116,6 @@ sub prompt($prompt, $completions = [], $default = "", $pos = 0, $cart = undef, $
return undef if not defined $input;
$readline->addhistory($input);
$input =~ s/^\s+//; # trim leading whitespace
$input =~ s/\s+$//; # trim trailing whitespace

View file

@ -16,7 +16,7 @@ use RevBank::Messages;
use RevBank::Cart;
use RevBank::Prompt;
our $VERSION = "6.0.4";
our $VERSION = "6.0.5";
our %HELP1 = (
"abort" => "Abort the current transaction",
);