index
:
rtmux.git
master
rahm
Tmux with Rahm's extra hacks.
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
tty.c
3
1 files changed, 3 insertions, 0 deletions
diff --git a/tty.c b/tty.c
index 82cfac80..2129747d 100644
--- a/
tty.c
+++ b/
tty.c
@@ -131,6 +131,9 @@ tty_start_tty(struct tty *tty)
struct termios tio;
int what;
+ if (tty->fd == -1)
+ return;
+
#if 0
tty_detect_utf8(tty);
#endif