Fix bug where follow-up prompt of second command would split on whitespace
Bug: > 2x unlisted 6 Please provide a short description: bar foo foo: No such product, user, or command. Fixed: > 2x unlisted 6 Please provide a short description: bar foo Pending: 2x { 6.00 bar foo } Enter username to pay 12.00; type 'abort' to abort.
This commit is contained in:
parent
f312b31576
commit
df771e22fd
1 changed files with 1 additions and 1 deletions
2
revbank
2
revbank
|
@ -185,7 +185,6 @@ OUTER: for (;;) {
|
|||
length $input or redo PROMPT;
|
||||
|
||||
@words = ($split_input ? split(" ", $input) : $input);
|
||||
$split_input = 0; # Only split 'outer' input.
|
||||
}
|
||||
|
||||
WORD: for (;;) {
|
||||
|
@ -194,6 +193,7 @@ OUTER: for (;;) {
|
|||
|
||||
my $word = shift @words;
|
||||
push @retry, $word;
|
||||
$split_input = 0; # Only split 'outer' input.
|
||||
|
||||
PLUGIN: for my $plugin (@plugins) {
|
||||
my ($rv, @rvargs) = eval { $plugin->$method($cart, $word) };
|
||||
|
|
Loading…
Add table
Reference in a new issue