This commit is contained in:
kojix2 2023-03-08 13:20:56 +09:00 committed by GitHub
commit 8230e03972
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@ require "./spinner/*"
class Spin
property delay
property chars : Array(String)
property chars : Array(String) | Array(Colorize::Object(String))
CL = STDOUT.tty? ? "\u001b[0G" : "\u000d \u000d"
CLEAR = STDOUT.tty? ? "\u001b[2K" : "\u000d"