Performs a key assignment against the
There are a number of actions that can be performed against a
window when configured via the
mouse configuration options.
This method allows your lua script to trigger those actions for itself.
The first parameter is a key assignment such as that returned by
The second parameter is a
pane object passed to your event callback.
For an example of this method in action, see
wezterm.on Custom Events.