about summary refs log tree commit diff stats
path: root/src/display/pager.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/display/pager.nim')
-rw-r--r--src/display/pager.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/display/pager.nim b/src/display/pager.nim
index 4d1d56e4..62137805 100644
--- a/src/display/pager.nim
+++ b/src/display/pager.nim
@@ -423,6 +423,9 @@ proc toggleSource*(pager: Pager) {.jsfunc.} =
 
 proc windowChange*(pager: Pager, attrs: WindowAttributes) =
   pager.attrs = attrs
+  pager.display = newFixedGrid(attrs.width, attrs.height - 1)
+  pager.statusmsg = newFixedGrid(attrs.width)
+  pager.term.windowChange(attrs)
   for container in pager.containers:
     container.windowChange(attrs)