Open cleac opened 5 years ago
i would be cautious with implementing this. usually the control+c binding is used to send a signal to kill the process. if, for example, the app was being unresponsive, it seems very undesirable to then try to trigger an interactive prompt. having key-bindings that can be attached to either a hard or soft quit action (with hard just quitting and soft providing a prompt) would be more favorable. additionally having an alternative way to exit streaming mode (if there is a problem) without being tied to the “control+c” key-binding, would be a positive change (in my opinion).
A small proposal of feature that would make user experience better :smile:
When hitting
<C-c>
(like Control+C), tootstream just exists. Adding prompting whether user really wants to exit would help much to use an application :smile: