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:
Wez Furlong committed 2021-10-03 09:18:41 -07:00
1 parent fc3f6cb9ce
commit c21c1e2857
1 file changed
+3 -3
+3 -3
View File
@@ -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"}
}
}
```