diff options
Diffstat (limited to 'src/local/pager.nim')
-rw-r--r-- | src/local/pager.nim | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/local/pager.nim b/src/local/pager.nim index eb6e531d..ac241d73 100644 --- a/src/local/pager.nim +++ b/src/local/pager.nim @@ -448,12 +448,13 @@ proc addContainer*(pager: Pager, container: Container) = pager.setContainer(container) proc newBuffer(pager: Pager, bufferConfig: BufferConfig, source: BufferSource, - title = "", redirectdepth = 0, canreinterpret = true, - fd = FileHandle(-1)): Container = + title = "", redirectdepth = 0, canreinterpret = true, fd = FileHandle(-1)): + Container = return newBuffer( pager.forkserver, bufferConfig, source, + pager.attrs, title, redirectdepth, canreinterpret, |