logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

0003-Resize-status-window-explicitly-during-resize.patch (681B)


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