aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-09-16 12:36:28 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-09-16 12:36:28 +0000
commit15b643fc119221658ca3e9c6718eeb88ffcbe47a (patch)
tree21c2d4ebd4565117a9a4d9ed7c98f84326849f07 /tmux.h
parent150fba5ecdb3fedd8aed71ee65fb8cc6b0354070 (diff)
downloadrtmux-15b643fc119221658ca3e9c6718eeb88ffcbe47a.tar.gz
rtmux-15b643fc119221658ca3e9c6718eeb88ffcbe47a.tar.bz2
rtmux-15b643fc119221658ca3e9c6718eeb88ffcbe47a.zip
Sync from OpenBSD:
== 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. == This should fix problems caused by glibc's broken ttydefaults.h file.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmux.h b/tmux.h
index 5d909054..cb9938bf 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.442 2009-09-15 23:50:32 tcunha Exp $ */
+/* $Id: tmux.h,v 1.443 2009-09-16 12:36:27 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -813,7 +813,7 @@ struct session {
#define SESSION_DEAD 0x2
int flags;
- struct termios tio;
+ struct termios *tio;
struct environ environ;