Skip to content

Fix loading of optional fields in the config entry#1942

Open
Yaraslaut wants to merge 1 commit intomasterfrom
fix/config_loading_without_optional_fields
Open

Fix loading of optional fields in the config entry#1942
Yaraslaut wants to merge 1 commit intomasterfrom
fix/config_loading_without_optional_fields

Conversation

@Yaraslaut
Copy link
Copy Markdown
Member

@Yaraslaut Yaraslaut commented Apr 28, 2026

Closes #1940

When trying to parse field that is non-existing, yaml-cpp does not produce node that is valid, but produces YAML::InvalidNode and we can not use .isScalar() check on it

@github-actions github-actions Bot added the frontend Contour Terminal Emulator (GUI frontend) label Apr 28, 2026
@Yaraslaut Yaraslaut force-pushed the fix/config_loading_without_optional_fields branch from 4bf1378 to 96b49b5 Compare April 28, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend Contour Terminal Emulator (GUI frontend)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adding an input mapping with ReloadConfig causes all keybinds to fail.

1 participant