bin/tracksperanto in tracksperanto-1.3.1 vs bin/tracksperanto in tracksperanto-1.4.0
- old
+ new
@@ -76,16 +76,17 @@
puts parser
exit(-1)
end
pipe = Tracksperanto::Pipeline::Base.new
-pipe.progress_block = lambda{|percent, msg| puts("#{msg}..#{percent.to_i}%") }
+pipe.progress_block = lambda{|percent, msg| STDOUT.write(".") }
pipe.run(input_file, :pix_w => width, :pix_h => height, :parser => reader_klass) do | scaler, slipper, golden, reformat, shift |
slipper.slip = slip
scaler.x_factor = scale_x
scaler.y_factor = scale_y
golden.enabled = golden_tracks
reformat.width = reformat_w if reformat_w
reformat.height = reformat_h if reformat_h
shift.x_shift = x_shift
shift.y_shift = y_shift
-end
+end
+STDOUT.write("\n")
\ No newline at end of file