docs: fixup Nop example
The description of Nop was incorrect; it was describing DisableDefaultAssignment. Just make this bit use the same example from DisableDefaultAssignment's docs.
This commit is contained in:
1 parent
fc3f6cb9ce
commit
c21c1e2857
1 file changed
+3
-3
+3
-3
@@ -206,9 +206,9 @@ local wezterm = require 'wezterm';
|
||||
|
||||
return {
|
||||
keys = {
|
||||
-- Turn off the default CMD-m Hide action on macOS by making it
|
||||
-- send the empty string instead of hiding the window
|
||||
{key="m", mods="CMD", action="Nop"}
|
||||
-- Turn off the default CMD-m Hide action, allowing CMD-m to
|
||||
-- be potentially recognized and handled by the tab
|
||||
{key="m", mods="CMD", action="DisableDefaultAssignment"}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user