From 9b7650bc087196c0b1f4ba78982150b2345b36f9 Mon Sep 17 00:00:00 2001 From: verdant Date: Thu, 23 Jul 2026 18:57:03 +0800 Subject: Fix window positioning and height calculation --- fm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fm.c b/fm.c index b0a2fd0..88d87de 100644 --- a/fm.c +++ b/fm.c @@ -15,8 +15,8 @@ static fm_info *fm_w_init(terminal *t) } int fm_w = t->maxx / 2; - int fm_h = t->maxy - t->windows[i]->height; - int fm_starty = t->windows[i]->height - STAT_BAR_HEIGHT; + int fm_h = t->maxy - t->windows[i]->height - 1; + int fm_starty = t->windows[i]->height; int fm_l_startx = 0; int fm_r_startx = t->maxx / 2; -- cgit v1.2.3