diff options
author | bptato <nincsnevem662@gmail.com> | 2022-12-13 17:03:17 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2022-12-13 17:03:17 +0100 |
commit | 4b482418c22ea31729ca94583ffd2a6aa167d811 (patch) | |
tree | 9c456555f1b3cfd45d90f28d61d7369ab96e1c5d /src/display/client.nim | |
parent | 672ab553c4a2b10a703ea40e049eda52db149a93 (diff) | |
download | chawan-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.nim | 2 |
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) |