cat_tw: Typewriter-style Concatenate and Print

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Input text-string and output one character at a time given a delay. Aims to mimic the Pokemon Blue progressive text reveal, like typewriter output.

Usage

1
cat_tw(x, sleep = 0.02)

Arguments

x

A character string of length 1.

sleep

Numeric, length 1. System delay in seconds.

Value

Output to console.

Examples

1
## Not run:  cat_typewriter("Example text.", 0.2) 

matt-dray/safar6 documentation built on Feb. 6, 2021, 1:03 p.m.