ugh, fix stupid formatting syntax error
refs: https://github.com/wez/wezterm/issues/428
This commit is contained in:
1 parent
4bbe67aac3
commit
fa4bbbd077
1 file changed
+7
-5
@@ -2139,11 +2139,13 @@ impl TermWindow {
|
||||
let theoretical_height = font_size * dimensions.dpi as f64 / 72.0;
|
||||
|
||||
if theoretical_height < 2.0 {
|
||||
log::warn!("refusing to go to an unreasonably small font scale {:?} "
|
||||
"font_scale={} would yield font_height {}",
|
||||
dimensions,
|
||||
font_scale,
|
||||
theoretical_height);
|
||||
log::warn!(
|
||||
"refusing to go to an unreasonably small font scale {:?}
|
||||
font_scale={} would yield font_height {}",
|
||||
dimensions,
|
||||
font_scale,
|
||||
theoretical_height
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user