diff options
| author | verdant <im@verdant.ee> | 2026-07-23 18:57:03 +0800 |
|---|---|---|
| committer | verdant <im@verdant.ee> | 2026-07-23 18:57:03 +0800 |
| commit | 9b7650bc087196c0b1f4ba78982150b2345b36f9 (patch) | |
| tree | eb13b351691ae07dc92bffbf9ac5cd9f6ef63d9b | |
| parent | 0d4d4727d4bb5dad874278d2fb76dc7ac2780a5f (diff) | |
| download | sf-9b7650bc087196c0b1f4ba78982150b2345b36f9.tar.gz sf-9b7650bc087196c0b1f4ba78982150b2345b36f9.zip | |
Fix window positioning and height calculation
| -rw-r--r-- | fm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |
