1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-28 07:55:03 +03:00
wezterm/docs/config/lua/keyassignment/Nop.md
2021-02-23 08:13:25 -08:00

18 lines
373 B
Markdown

# Nop
Causes the key press to have no effect; it behaves as though those
keys were not pressed.
If instead of this you want the key presses to pass through to
the terminal, look at [DisableDefaultAssignment](DisableDefaultAssignment.md).
```lua
return {
keys = {
-- Turn off any side effects from pressing CMD-m
{key="m", mods="CMD", action="Nop"},
}
}
```