tootstream icon indicating copy to clipboard operation
tootstream copied to clipboard

[Proposal] Handle <C-c> by application

Open cleac opened this issue 5 years ago • 1 comments

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:

cleac avatar Mar 11 '19 18:03 cleac

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

samdmarshall avatar May 16 '19 16:05 samdmarshall