Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Proposal] Handle <C-c> by application #201

Open
cleac opened this issue Mar 11, 2019 · 1 comment
Open

[Proposal] Handle <C-c> by application #201

cleac opened this issue Mar 11, 2019 · 1 comment

Comments

@cleac
Copy link

cleac commented Mar 11, 2019

A small proposal of feature that would make user experience better 😄

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 😄

@samdmarshall
Copy link

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants