File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments