SpinnerOptions
import { SpinnerOptions } from "jsr:@ende/cli/unstable-spinner";interface · experimental
interface SpinnerOptionsOptions for Spinner.
Properties
spinner
spinner?: string[]The sequence of characters to be iterated through for animation.
Default: ["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"]
message
message?: stringThe message to display next to the spinner. This can be changed while the spinner is active.
interval
interval?: numberThe time between each frame of the spinner in milliseconds.
Default: 75
color
color?: ColorThe color of the spinner. Defaults to the default terminal color. This can be changed while the spinner is active.
output
output?: typeof Ende.stderr | typeof Ende.stdoutThe stream to write the spinner to.
Default: Ende.stdout