my $cmd;
-while (defined(my $line = $rl->readline(length($cmd)?'+ ':'$ '))) {
- $cmd .= $line;
+while (defined(my $line = $rl->readline(length($cmd)?'> ':'$ '))) {
+ $cmd .= "${line}\n";
if ($tcl->call(info => complete => $cmd)) {
$tcl->Eval($cmd);
$cmd = '';