lilalo

diff l3prompt @ 156:a0daf0c3fa52

bsd fix
author Igor Chubin <igor@chub.in>
date Mon Nov 28 13:15:16 2011 +0200 (2011-11-28)
parents 658b4ea105c1
children
line diff
     1.1 --- a/l3prompt	Sun Mar 09 02:38:56 2008 +0200
     1.2 +++ b/l3prompt	Mon Nov 28 13:15:16 2011 +0200
     1.3 @@ -1,6 +1,6 @@
     1.4  #!/usr/bin/perl
     1.5  
     1.6 -my $string=$_[0];
     1.7 +my $string=$ARGV[0];
     1.8  my $insert="\e[1K\e[10D";
     1.9  my $max=5;
    1.10