Skip to content

Commit 85ef590

Browse files
Lucenx9claude
andcommitted
style: fix cargo fmt in config.rs
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 495bf7a commit 85ef590

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

src-tauri/src/config.rs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,9 @@ fn theme_from_ghostty_map(map: &HashMap<String, String>) -> TerminalTheme {
311311
cursor: map.get("cursor-color").cloned(),
312312
selection_background: map.get("selection-background").cloned(),
313313
selection_foreground: map.get("selection-foreground").cloned(),
314-
font_family: map.get("font-family").map(|value| normalize_font_family(value)),
314+
font_family: map
315+
.get("font-family")
316+
.map(|value| normalize_font_family(value)),
315317
font_size: map.get("font-size").and_then(|s| s.parse().ok()),
316318
..Default::default()
317319
}
@@ -561,7 +563,10 @@ mod tests {
561563

562564
#[test]
563565
fn normalize_font_family_strips_wrapping_quotes() {
564-
assert_eq!(normalize_font_family("\"JetBrains Mono\""), "JetBrains Mono");
566+
assert_eq!(
567+
normalize_font_family("\"JetBrains Mono\""),
568+
"JetBrains Mono"
569+
);
565570
assert_eq!(normalize_font_family("'JetBrains Mono'"), "JetBrains Mono");
566571
}
567572

0 commit comments

Comments
 (0)