tabby
tabby copied to clipboard
feat: add spinner for prod release
For closing https://github.com/TabbyML/tabby/issues/2457
- Add
spinnerdep - If binary is
prodrelease, spawn the spinner in a tokio task, if binary is dev release, just print debug log as before- Use
onshotchannel to coordinate with main thread
- Use
Test result:
is it possible to delete Starting... line after the Listening ... information got displayed?
is it possible to delete
Starting...line after theListening ...information got displayed?
stop with empty message does the trick