aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-08-14 21:23:20 +0000
committerTiago Cunha <tcunha@gmx.com>2009-08-14 21:23:20 +0000
commite2a18894b34e3651feecba1dd43c4f05c9566509 (patch)
treea15c5d4ff41e637982452222ede90d433dbc10a6 /tmux.h
parent0714e411488e01273729bc0801e197a8f64d5540 (diff)
downloadrtmux-e2a18894b34e3651feecba1dd43c4f05c9566509.tar.gz
rtmux-e2a18894b34e3651feecba1dd43c4f05c9566509.tar.bz2
rtmux-e2a18894b34e3651feecba1dd43c4f05c9566509.zip
Sync OpenBSD patchset 246:
Have the client pass its stdin fd to the server when identifying itself and have the server use that rather than reopening the tty. If the fd isn't given, use the old behaviour (so no need for a version change). This allows tmux to be used as the shell, so also change so that when working out the command to execute if default-command is empty (the default), tmux will try not execute itself.
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 a2a927bd..29717894 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.413 2009-08-14 21:20:01 tcunha Exp $ */
+/* $Id: tmux.h,v 1.414 2009-08-14 21:23:20 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -1156,7 +1156,7 @@ void tty_putcode2(struct tty *, enum tty_code_code, int, int);
void tty_puts(struct tty *, const char *);
void tty_putc(struct tty *, u_char);
void tty_pututf8(struct tty *, const struct grid_utf8 *);
-void tty_init(struct tty *, char *, char *);
+void tty_init(struct tty *, int, char *, char *);
void tty_start_tty(struct tty *);
void tty_stop_tty(struct tty *);
void tty_detect_utf8(struct tty *);