1From dd47da4db71e820aed9a0cd29d7855903216de65 Mon Sep 17 00:00:00 2001
2From: Michael Forney <mforney@mforney.org>
3Date: Mon, 31 May 2021 16:40:28 -0700
4Subject: [PATCH] Resize status window explicitly during resize()
5
6Although ncurses automatically resizes windows that extend to the
7previous screen limits, NetBSD's libcurses does not, so resize the
8status window explicitly.
9---
10 ui.c | 1 +
11 1 file changed, 1 insertion(+)
12
13diff --git a/ui.c b/ui.c
14index 64bd6ce..4d0012c 100644
15--- a/ui.c
16+++ b/ui.c
17@@ -274,6 +274,7 @@ void uiFormat(
18
19 void uiResize(void) {
20 wclear(uiMain);
21+ wresize(uiStatus, 1, COLS);
22 wresize(uiMain, MAIN_LINES, COLS);
23 windowResize();
24 }
25--
262.34.1
27