Raxol.Terminal.Config.Utils (Raxol v0.3.0)
View SourceUtility functions for handling terminal configuration maps.
Summary
Functions
Deeply merges two maps.
Merges configuration options into an existing configuration map.
Converts a keyword list or map of potentially nested options into a nested map.
Functions
Deeply merges two maps.
Keys in the right map take precedence. If both values for a key are maps, they are merged recursively.
Merges configuration options into an existing configuration map.
The opts
are first converted into a nested map structure and then
deeply merged into the current_config
.
Converts a keyword list or map of potentially nested options into a nested map.
Handles flat keys like theme: "light"
and nested paths represented
by lists like [behavior: [scrollback: 100]]
within the keyword list.