mirror of
https://github.com/wez/wezterm.git
synced 2024-12-18 02:42:05 +03:00
c4257ab8d6
This adds string serialization for the keycode and modifiers as used in the config. We can't simply tell the base types to serialize in this form because we may serialize and pass those via the mux protocol and the default derived serializers are more efficient for that purpose. This allows: ```lua local wezterm = require 'wezterm' return { keys = { {key="a", mods="ALT", action=wezterm.action{SendKey={key="b"}}} }, } ``` to parse: previously, wrapping `SendKey` in `wezterm.action` would fail to round-trip the the `SendKey` and lead to an error loading the config. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |