about summary refs log tree commit diff stats
path: root/src/local/pager.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-03-12 14:09:53 +0100
committerbptato <nincsnevem662@gmail.com>2024-03-12 14:09:53 +0100
commit0cc8f357d8f44fcfccd141c078d34ed4530fec5b (patch)
treed07478d4895e9ae008d4d0cba704db3f6bd4ecbf /src/local/pager.nim
parent2ac31dd859c84697d108c88dd1b22b5ffa5beb95 (diff)
downloadchawan-0cc8f357d8f44fcfccd141c078d34ed4530fec5b.tar.gz
io: add dynstream
a new abstraction that we derive posixstream from; hopefully with time
we can get rid of std/streams
Diffstat (limited to 'src/local/pager.nim')
-rw-r--r--src/local/pager.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/local/pager.nim b/src/local/pager.nim
index 24f1ad0f..6877133b 100644
--- a/src/local/pager.nim
+++ b/src/local/pager.nim
@@ -21,6 +21,7 @@ import extern/editor
 import extern/runproc
 import extern/stdio
 import extern/tempfile
+import io/bufstream
 import io/posixstream
 import io/promise
 import io/socketstream
@@ -105,7 +106,7 @@ type
     statusgrid*: FixedGrid
     term*: Terminal
     tmpdir*: string
-    unreg*: seq[tuple[pid: int; stream: PosixStream]]
+    unreg*: seq[tuple[pid: int; stream: BufStream]]
     urimethodmap: URIMethodMap
     username: string