huh icon indicating copy to clipboard operation
huh copied to clipboard

If the spinner drops out prematurely, input is invisible

Open flippedcracker opened this issue 1 year ago • 1 comments

Describe the bug If I start a spinner and something exits out (like a os.Exit() or log.Fatal() ), then the input in the terminal is hidden. The only way to get it back is to reset terminal

To Reproduce Steps to reproduce the behavior:

  1. Start a spinner
  2. exit out of the spinner Action function by way of os.Exit or log.Fatal
  3. try to type in the terminal
  4. see the nothing shows in the terminal

Expected behavior Exiting out should return to terminal as normal

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • Ubuntu 22

Additional context Add any other context about the problem here. 2024-05-14_13-55

flippedcracker avatar May 14 '24 21:05 flippedcracker

Hey, can you confirm that this is a different issue than #159?

If so, we can combine the issues for some clean up. Otherwise, thank you so much for the issue!

maaslalani avatar May 25 '24 17:05 maaslalani