about summary refs log tree commit diff stats
path: root/src/display/client.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/display/client.nim')
-rw-r--r--src/display/client.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display/client.nim b/src/display/client.nim
index 9ca2ac68..34077055 100644
--- a/src/display/client.nim
+++ b/src/display/client.nim
@@ -403,7 +403,7 @@ proc launchClient*(client: Client, pages: seq[string], ctype: Option[string], du
   var tty: File
   var dump = dump
   if not dump:
-    if not stdin.isatty():
+    if stdin.isatty():
       tty = stdin
     elif stdout.isatty():
       discard open(tty, "/dev/tty", fmRead)