mirror of
https://github.com/wez/wezterm.git
synced 2024-12-27 23:46:31 +03:00
da7da888cd
Invalid option names, or values that evaluate as nil (such as the `foo` above: that's treated as a global variable reference, but `foo` isn't a defined global and evaluates as `nil`) will now cause the program startup to error out with an actionable error message. Previously, the invalid config name would generate a warning, and the invalid value would silently have no effect as it has the same effect as omitting the named value and leaving it as its default value. I think these cases should both immediately error out and stop further processing, so that's what we're doing. This commit also adds support for adding: ``` #[dynamic(deprecated = "use newer option instead")] pub some_config_value: bool, ``` but not options currently use this. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |