about summary refs log tree commit diff stats
path: root/src/display/client.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-12-13 17:03:17 +0100
committerbptato <nincsnevem662@gmail.com>2022-12-13 17:03:17 +0100
commit4b482418c22ea31729ca94583ffd2a6aa167d811 (patch)
tree9c456555f1b3cfd45d90f28d61d7369ab96e1c5d /src/display/client.nim
parent672ab553c4a2b10a703ea40e049eda52db149a93 (diff)
downloadchawan-4b482418c22ea31729ca94583ffd2a6aa167d811.tar.gz
Fix stream error handling confusion, title display
Also probably other fixes.
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)