Skip to content

Commit 809759c

Browse files
authored
Adds c++ color syntax at examples.
1 parent 7ccd1c8 commit 809759c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ Supports Windows, Linux and Mac OS X.
66
## Getting Started
77

88
To catch Ctrl+C event/signal you should call:
9-
10-
unsigned int CtrlCLibrary::SetCtrlCHandler(std::function<bool(enum CtrlSignal)> handler);
11-
9+
```cpp
10+
unsigned int CtrlCLibrary::SetCtrlCHandler(std::function<bool(enum CtrlCLibrary::CtrlSignal)> handler);
11+
```
1212
handler - custom handler;
1313
1414
**Return**:
1515
Returns handler identifier, or CtrlCLibrary::kErrorID in case of error.
1616
1717
To remove handler you should call:
18-
19-
void CtrlCLibrary::ResetCtrlCHandler(unsigned int id);
20-
18+
```cpp
19+
void CtrlCLibrary::ResetCtrlCHandler(unsigned int id);
20+
```
2121
id - handler identifier, returned by CtrlCLibrary::SetCtrlCHandler.
2222

2323
### Installing

0 commit comments

Comments
 (0)