chore: adjust headings in README.md

This commit is contained in:
amrbashir
2022-12-13 00:22:48 +02:00
parent 08478c8a5c
commit 4891064ea8

View File

@@ -1,6 +1,6 @@
global_hotkey lets you register Global HotKeys for Desktop Applications.
# Example
## Example
```rs
use global_hotkey::{GlobalHotKeyManager, hotkey::{HotKey, Modifiers, Code}};
@@ -16,7 +16,7 @@ manager.register(hotkey);
```
# Processing global hotkey events
## Processing global hotkey events
You can use `global_hotkey_event_receiver` to get a reference to the `GlobalHotKeyEventReceiver`
which you can use to listen to the hotkey pressed events.