MagicalMake.Painter (MagicalMake v0.1.2) View Source

Puts ascii arts and refreshs stdout.

Link to this section Summary

Functions

Draw text with each interval.

Refreshes stdout and font information.

Link to this section Functions

Specs

draw(String.t(), non_neg_integer()) :: :ok

Draw text with each interval.

Examples

iex> MagicalMake.Painter.draw("hello", 100)
# Draws hellp with each 100ms
:ok

Specs

refresh!() :: :ok

Refreshes stdout and font information.

Examples

iex> MagicalMake.Painter.refresh!
:ok