summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-09-16 12:35:05 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-09-16 12:35:05 +0000
commita52b2186877eb82197db226ad6589a8743b6c299 (patch)
tree354d58b6c46b7b3d048161ae5c84f5a128525fd0 /usr.bin/tmux/tmux.h
parent040854e58efbc3bb4fcf77070c0857e4ba32bd5a (diff)
Rather than constructing an entire termios struct from ttydefaults.h, just let
forkpty do it and then alter the bits that should be changed after fork. A little neater and more portable.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index 65b33bafdde..752b43f8727 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.104 2009/09/14 11:25:35 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.105 2009/09/16 12:35:04 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -815,7 +815,7 @@ struct session {
#define SESSION_DEAD 0x2
int flags;
- struct termios tio;
+ struct termios *tio;
struct environ environ;