module Asciimation

Constants

VERSION

Public Instance Methods

animate(args) click to toggle source
# File lib/asciimation.rb, line 10
def animate(args)
  Rurses.program(modes: %i[c_break no_echo hide_cursor]) do |screen|
    screen.refresh_in_memory
    Rurses.update_screen

    Animator.new(ArgumentParser.new(args)).animate(screen)

    Rurses.get_key
  end
end