Sha256: d0679e21cfa4bc607e44fac3627d733563e8590968fd8e3ba1f56e7e2f42ff0d
Contents?: true
Size: 434 Bytes
Versions: 1
Compression:
Stored size: 434 Bytes
Contents
require "rurses" require_relative "asciimation/version" require_relative "asciimation/argument_parser" require_relative "asciimation/animator" module Asciimation module_function 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 end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
asciimation-0.1.0 | lib/asciimation.rb |