Configuring/Basics/Binds: Fixed a syntax issue with an example

This commit is contained in:
Eric Bell 2026-04-29 23:14:52 -06:00
parent 88530cae1b
commit 7dbe2c082d

View file

@ -281,7 +281,7 @@ to your config and you're done.
This also means that push-to-talk will work flawlessly with one `pass`, e.g.:
```lua
hl.bind("mouse:276", hl.dsp.pass("class:^(TeamSpeak 3)$")) # Pass MOUSE5 to TeamSpeak3.
hl.bind("mouse:276", hl.dsp.pass({window = "class:^(TeamSpeak 3)$"})) # Pass MOUSE5 to TeamSpeak3.
```
You may also add shortcuts, where other keys are passed to the window.