about summary refs log tree commit diff stats
path: root/src/local/pager.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/local/pager.nim')
-rw-r--r--src/local/pager.nim5
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,