Melkeydev / go-blueprint

Go-blueprint allows users to spin up a quick Go project using a popular framework
https://docs.go-blueprint.dev/
MIT License
5.2k stars 302 forks source link

Cursor not visible when go-blueprint create fails #315

Closed beeploop closed 2 weeks ago

beeploop commented 1 month ago

What is the problem?

I can't see my cursor whenever an error occur during go-blueprint create. I can still type but the cursor is invisible.

Operating System

Pop OS

Architecture Version (x86, x64, arm, etc)

x64

Steps to reproduce

Run go-blueprint create with unreliable or without internet connection.

Relevant log output

No response

Ujstor commented 1 month ago

It is an old bug that slipped in when the Spinner was implemented. The Spinner is running in a separate goroutine, and if an error occurs, the terminal gets captured, and there is no visible input. We thought the bug was resolved, but obviously it isn't.

Feel free to let me know if anyone is interested in working on resolving this issue.

vinitparekh17 commented 1 month ago

@Ujstor i would like to pick this up

Ujstor commented 2 weeks ago

Resolved in #318