Closed productdevbook closed 1 year ago
Hum, I'm unable to reproduce. Using the basic example, ctrl+c
exists the program (doesn't show an exit message, though, since the program abruptly exits). Not sure if by design or not. @natemoo-re?
What OS are you using?
Oh, now I think I understand what you mean. You mean after, not during the spinner?
I can confirm that's a bug.
This behavior seems to have been introduced in #80, as commenting out that line makes the program respond to control sequences again.
However, restoring raw mode as well seems to allow both fixes to co-exist.
(input.isTTY) input.setRawMode(false);
// cc @privatenumber
Environment
@clack/prompts
,@clack/core
Describe the bug ctrl + c dont working with spinner. Whenever I add spinnir code, all ctrl commands are disabled.
dont working terminal ctrl + c kill.
working