From 3c56468dcf725e2b51076295f16601f8f025922e Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 15 Jan 2012 00:42:17 +0000 Subject: [PATCH] clear screen before score boards gets drawn --- dart/Dart.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dart/Dart.pm b/dart/Dart.pm index 3e5dbca..51f3554 100644 --- a/dart/Dart.pm +++ b/dart/Dart.pm @@ -90,6 +90,7 @@ sub run $self->{sound_out_fh}=$sound_out_fh; push @history, Clone::clone($self); + print "\033[2J"; $self->callback('before_shoot'); #while ( my $shoot_data = <$data_in_fh>) while ( my $shoot_data = ) @@ -117,6 +118,7 @@ sub run next; } push @history, Clone::clone($self); + print "\033[2J"; $self->callback('before_shoot'); } } -- 1.7.10.4