Fix maximize
@ -252,7 +252,7 @@ impl CachingShaper {
pub fn shape(&mut self, cells: &[String], bold: bool, italic: bool) -> Vec<TextBlob> {
let current_size = self.current_size();
let (glyph_width, glyph_height) = self.font_base_dimensions();
let (glyph_width, _glyph_height) = self.font_base_dimensions();
let mut resulting_blobs = Vec::new();
@ -226,7 +226,9 @@ pub fn start_loop(
let initial_inner_size =
get_initial_window_size(initial_size, (renderer.font_width, renderer.font_height));
if !window.is_maximized() {
window.set_inner_size(initial_inner_size);
}
log::info!(
"window created (scale_factor: {}, font_size: {}x{})",