diff options
Diffstat (limited to 'lib/App/Raps2/UI.pm')
-rw-r--r-- | lib/App/Raps2/UI.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/App/Raps2/UI.pm b/lib/App/Raps2/UI.pm index 089290b..9807f52 100644 --- a/lib/App/Raps2/UI.pm +++ b/lib/App/Raps2/UI.pm @@ -32,9 +32,7 @@ sub list { sub read_line { my ($self, $str, $pre) = @_; - $pre //= q{}; - - my $input = $self->{term_readline}->readline("${str}: ${pre}"); + my $input = $self->{term_readline}->readline("${str}: ", $pre); return $input; } |