web-infra-dev / rsbuild

The Rspack-based build tool. It's fast, out-of-the-box and extensible.
https://rsbuild.dev/
MIT License
1.75k stars 137 forks source link

[Bug]: `Choose a Framework` selector not clearing correctly. #3122

Closed iamalexrouse closed 2 months ago

iamalexrouse commented 3 months ago

Version

System:
    OS: Linux 5.15 Freedesktop SDK 23.08 (Flatpak runtime)
    CPU: (2) x64 Intel(R) Celeron(R) CPU  N2820  @ 2.13GHz
    Memory: 641.93 MB / 3.71 GB
    Container: Yes
    Shell: 5.2.26 - /bin/sh

Details

When running npm create rsbuild@latest, on the step of choosing a framework, on Visual Studio Code at least the choose a framework menu doesn't clear and redraw but instead redraws without clearing first causing a very confusing look.

rspack_error

Reproduce link

N/A

Reproduce Steps

  1. execute npm create rsbuild@latest
  2. Go to Pick A Framework
  3. See not so fun time ahead.
iamalexrouse commented 3 months ago

UPDATE: This seems to happen randomly so take this issue with a grain of salt :)

chenjiahan commented 2 months ago

Thanks for your feedback, sadly I can't reproduce this issue.

Rsbuild uses clack to print prompts. I have searched the clack issues and cannot find any related issues. If this problem still bothers you, you can try to submit an issue to clack ❤️