aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-01-26 22:57:20 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-01-26 22:57:20 +0000
commit9cde0c24779e8f43b6d122bc62fa22b6022d9ef0 (patch)
tree833af8a6751da50421ae9db66ae10e2e6a05823c /tmux.h
parent4d7e555a48a6fb0732565b24482d24e968f49eae (diff)
downloadrtmux-9cde0c24779e8f43b6d122bc62fa22b6022d9ef0.tar.gz
rtmux-9cde0c24779e8f43b6d122bc62fa22b6022d9ef0.tar.bz2
rtmux-9cde0c24779e8f43b6d122bc62fa22b6022d9ef0.zip
Be more clever about picking window name.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/tmux.h b/tmux.h
index 4a018911..45c00102 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.250 2009-01-25 19:00:10 tcunha Exp $ */
+/* $Id: tmux.h,v 1.251 2009-01-26 22:57:19 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -140,7 +140,7 @@ extern const char *__progname;
#define printflike4 __attribute__ ((format (printf, 4, 5)))
/* Number of items in array. */
-#define nitems(_a) (sizeof((_a)) / sizeof((_a)[0]))
+#define nitems(_a) (sizeof((_a)) / sizeof((_a)[0]))
/* Buffer macros. */
#define BUFFER_USED(b) ((b)->size)
@@ -592,6 +592,7 @@ struct window_pane {
char *cwd;
int fd;
+ char tty[TTY_NAME_MAX];
struct buffer *in;
struct buffer *out;
@@ -1503,7 +1504,7 @@ int utf8_width(u_int);
char *section_string(char *, size_t, size_t, size_t);
/* osdep-*.c */
-char *get_argv0(pid_t);
+char *get_argv0(int, char *);
/* buffer.c */
struct buffer *buffer_create(size_t);