Commit 2499ee308af9bfe985a6067de7ed31efc787e6bd
Committed by
GitHub
1 parent
1f6854ef
Adding cpp color
Showing
1 changed file
with
1 additions
and
1 deletions
README.md
| ... | ... | @@ -293,7 +293,7 @@ If you are on a Unix-like system, and you'd like to handle control-c and color, |
| 293 | 293 | |
| 294 | 294 | And, in your main function: |
| 295 | 295 | |
| 296 | -``` | |
| 296 | +```cpp | |
| 297 | 297 | // Nice Control-C |
| 298 | 298 | struct sigaction sigIntHandler; |
| 299 | 299 | sigIntHandler.sa_handler = signal_handler; | ... | ... |