denoland / denoland/std

Spinner cannot overwrite the same line when the message is longer than terminal width

Open
#6,975 7 comments 0 reactions 0 assignees View on GitHub
bug needs triage
Dominant language
TypeScript
Stars
3.6k
Forks
681
PR merge metrics
No merged PRs in 30d

Description

```
import { Spinner } from "@std/cli/unstable-spinner";
const spinner = new Spinner({ message: "x".repeat(1000) });
spinner.start();
```

This script prints a lot of lines instead of updating the same line

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.