You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a color scheme defined as TOML file at ~/.config/wezterm/colors contains invalid data, it is treated as non-existent. Trying to use that color scheme only yields a Your configuration specifies color_scheme="Gruvbox Light Soft" but that scheme was not found.
Only when that color scheme definition is moved to Lua does WezTerm print the actual error in the color scheme.
Environment:
OS: Linux X11 Version:wezterm 20210511-192024-a59e9b17
To Reproduce
Create a color scheme with 9 elements in the ansi or brights lists and save it in ~/.config/wezterm/colors.
Then try to apply it with color_scheme = "<file_name>"
Expected behavior
WezTerm should
inform the user that the file does exist and where it was found, but that it contains invalid data
print the error that occurred while parsing/loading the color scheme. The same error that it does print when the color scheme is defined in Lua.
The text was updated successfully, but these errors were encountered:
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Describe the bug
When a color scheme defined as TOML file at
~/.config/wezterm/colors
contains invalid data, it is treated as non-existent. Trying to use that color scheme only yields aYour configuration specifies color_scheme="Gruvbox Light Soft" but that scheme was not found
.Only when that color scheme definition is moved to Lua does WezTerm print the actual error in the color scheme.
Environment:
OS: Linux X11
Version:
wezterm 20210511-192024-a59e9b17
To Reproduce
Create a color scheme with 9 elements in the
ansi
orbrights
lists and save it in~/.config/wezterm/colors
.Then try to apply it with
color_scheme = "<file_name>"
Expected behavior
WezTerm should
The text was updated successfully, but these errors were encountered: