diff options
Diffstat (limited to 'src/local/pager.nim')
-rw-r--r-- | src/local/pager.nim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/local/pager.nim b/src/local/pager.nim index 25042f5f..0d1088d2 100644 --- a/src/local/pager.nim +++ b/src/local/pager.nim @@ -1600,11 +1600,15 @@ proc connected(pager: Pager; container: Container; response: Response) = else: container.flags.excl(cfIsHTML) # buffer now actually exists; create a process for it + var attrs = pager.attrs + # subtract status line height + attrs.height -= 1 + attrs.height_px -= attrs.ppl container.process = pager.forkserver.forkBuffer( container.config, container.url, container.request, - pager.attrs, + attrs, mailcapRes.ishtml, container.charsetStack ) |