Skip to content

feat: handle ctrl+c shorcut to quit app#6

Merged
Cateds merged 3 commits intoCateds:masterfrom
antoineneff:feat/handle-sigint
Apr 16, 2026
Merged

feat: handle ctrl+c shorcut to quit app#6
Cateds merged 3 commits intoCateds:masterfrom
antoineneff:feat/handle-sigint

Conversation

@antoineneff
Copy link
Copy Markdown
Contributor

@antoineneff antoineneff commented Apr 15, 2026

Context

Hello again !

I often got the reflex to try quitting the app by using Ctrl + C shortcut, usually sending a SIGINT signal

What do you think about handling it ?

Changes

  • handle Ctrl + C shortcut in handle_key method
  • add shortcut to readme

@Cateds
Copy link
Copy Markdown
Owner

Cateds commented Apr 16, 2026

Good idea, thanks for the improvement.

I briefly looked at suspend (Ctrl+Z) too, but the complexity didn't seem worth it for this app's scope, so I'll skip it for now.

@Cateds Cateds merged commit f4920f0 into Cateds:master Apr 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants