diff options
Diffstat (limited to 'src/display/client.nim')
-rw-r--r-- | src/display/client.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display/client.nim b/src/display/client.nim index 78f29f43..54883a53 100644 --- a/src/display/client.nim +++ b/src/display/client.nim @@ -73,7 +73,7 @@ proc readPipe(client: Client, ctype: string) = buffer.location = newURL("file://-") client.pager.addBuffer(buffer) #TODO is this portable at all? - if reopen(stdin, "/dev/tty", fmReadWrite): + if reopen(stdin, "/dev/tty", fmRead): buffer.setupBuffer() else: buffer.load() |