aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-07-02 18:17:46 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-07-02 18:17:46 +0000
commit08c724963631f5184014df7334c97b8b646a6a03 (patch)
treeb7c16f95f295fdafb73702ca000d36e4aab490f1 /tmux.h
parent29ac832cb38f2193866a3fa5b14abc7537852eb4 (diff)
downloadrtmux-08c724963631f5184014df7334c97b8b646a6a03.tar.gz
rtmux-08c724963631f5184014df7334c97b8b646a6a03.tar.bz2
rtmux-08c724963631f5184014df7334c97b8b646a6a03.zip
Change default_window_name to use window_default_command if the actual cmd is
empty. From Josh Elsasser.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index fd4876a3..86f04ca4 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.348 2009-07-01 23:06:32 nicm Exp $ */
+/* $Id: tmux.h,v 1.349 2009-07-02 18:17:46 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -1407,6 +1407,7 @@ int screen_check_selection(struct screen *, u_int, u_int);
/* window.c */
extern struct windows windows;
+const char *window_default_command(void);
int window_cmp(struct window *, struct window *);
int winlink_cmp(struct winlink *, struct winlink *);
RB_PROTOTYPE(windows, window, entry, window_cmp);