aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-03-10 17:21:48 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-03-10 17:21:48 +0000
commit2be999a752a31a55e9c3c5a0edbe7c3bd31d8054 (patch)
tree118f1d90539deb783c38ffb61e0dd9bad3dc464d /terminal.c
parentdoc/foot.1: keyboard shortcuts: add pointer to foot(5) (diff)
parentchangelog: updated to mention fix for #3 (diff)
Merge branch 'master' into bindings
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/terminal.c b/terminal.c
index 0a7e5b5e..2a742268 100644
--- a/terminal.c
+++ b/terminal.c
@@ -525,7 +525,7 @@ term_set_fonts(struct terminal *term, struct font *fonts[static 4])
term->fonts[0]->ascent + term->fonts[0]->descent);
LOG_INFO("cell width=%d, height=%d", term->cell_width, term->cell_height);
- render_resize_force(term, term->width, term->height);
+ render_resize_force(term, term->width / term->scale, term->height / term->scale);
return true;
}