aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-10-01 23:48:03 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-10-01 23:48:03 +0100
commit9389cfbec9d7f4a7b5f9d4a580428949db4f6e67 (patch)
treee100b22e38d503ff465b3a5ec669f0493d126fda /tmux.h
parentd62121e7bbab6c84faa7beb2117cb9e444866db3 (diff)
downloadrtmux-9389cfbec9d7f4a7b5f9d4a580428949db4f6e67.tar.gz
rtmux-9389cfbec9d7f4a7b5f9d4a580428949db4f6e67.tar.bz2
rtmux-9389cfbec9d7f4a7b5f9d4a580428949db4f6e67.zip
Support -c for new-session, based on code from J Raynor.
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 ae1f38aa..b6b66fba 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1767,7 +1767,7 @@ int cmd_find_index(struct cmd_q *, const char *,
struct winlink *cmd_find_pane(struct cmd_q *, const char *, struct session **,
struct window_pane **);
char *cmd_template_replace(const char *, const char *, int);
-const char *cmd_get_default_path(struct cmd_q *, const char *);
+const char *cmd_default_path(const char *, const char *, const char *);
extern const struct cmd_entry *cmd_table[];
extern const struct cmd_entry cmd_attach_session_entry;
extern const struct cmd_entry cmd_bind_key_entry;
@@ -1876,6 +1876,7 @@ void cmdq_run(struct cmd_q *, struct cmd_list *);
void cmdq_append(struct cmd_q *, struct cmd_list *);
int cmdq_continue(struct cmd_q *);
void cmdq_flush(struct cmd_q *);
+const char *cmdq_default_path(struct cmd_q *, const char *);
/* cmd-string.c */
int cmd_string_parse(const char *, struct cmd_list **, const char *,