aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-02-24 00:43:28 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-02-24 00:43:28 +0000
commitf339cfd31563aaae0ae94361228bb697c83aa3bf (patch)
treee757507211a47b2cd9c8e2e782cc774ecfa96e29 /tmux.h
parentc5239c59846c2d09725d4b1db0e728b3376c3998 (diff)
downloadrtmux-f339cfd31563aaae0ae94361228bb697c83aa3bf.tar.gz
rtmux-f339cfd31563aaae0ae94361228bb697c83aa3bf.tar.bz2
rtmux-f339cfd31563aaae0ae94361228bb697c83aa3bf.zip
Add -A flag to new-session to make it behave like attach-session if the session
exists. If -A is used, -D behaves like -d to attach-session.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index c29e1240..0df1f4d8 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1836,6 +1836,9 @@ extern const struct cmd_entry cmd_unbind_key_entry;
extern const struct cmd_entry cmd_unlink_window_entry;
extern const struct cmd_entry cmd_up_pane_entry;
+/* cmd-attach-session.c */
+enum cmd_retval cmd_attach_session(struct cmd_q *, const char*, int, int);
+
/* cmd-list.c */
struct cmd_list *cmd_list_parse(int, char **, const char *, u_int, char **);
void cmd_list_free(struct cmd_list *);