From 391929448038a478f23cfa28db528e1f4a1e60d9 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 17 May 2011 14:20:14 +0200 Subject: Add "raps2 edit" --- lib/App/Raps2/UI.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/App/Raps2/UI.pm') 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; } -- cgit v1.2.3