0xPrateek / 0xPrateek/Photoroid
custom exit message on ctrl+c keyboard event
Abierto
Apto para principiantes
enhancement
- Lenguaje dominante
- Python
- Estrellas
- 45
- Forks
- 21
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Currently pressing ctrl+c simply exits the program.
It would be nice if we can handle that and print something nice like Canceled by the user or something similar.
Guía de contribución
Línea de trabajo
Look for the main entry point of the CLI program, likely a script that uses opencv. Research Python's signal handling for SIGINT (Ctrl+C). Implement a signal handler that prints a custom message like 'Canceled by the user' before exiting. Test by running the program and pressing Ctrl+C.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- cli
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bien especificado
- Aptitud para principiantes
- 70/100