1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-26 08:25:50 +03:00
This commit is contained in:
Wez Furlong 2023-03-21 08:08:03 -07:00
parent d983e53e91
commit 601e32e625
No known key found for this signature in database
GPG Key ID: 7A7F66A31EC9B387

View File

@ -238,9 +238,7 @@ impl ParsedConfigFile {
continue;
}
if let Some(sep) = line
.find(|c: char| c == '=' || c.is_whitespace())
{
if let Some(sep) = line.find(|c: char| c == '=' || c.is_whitespace()) {
let (k, v) = line.split_at(sep);
let k = k.trim().to_lowercase();
let v = v[1..].trim();