aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2012-02-02 01:55:34 +0000
committerTiago Cunha <tcunha@gmx.com>2012-02-02 01:55:34 +0000
commit4bb01c17684710107b58e73405d13a23b71732bc (patch)
tree932c9e2a59898eba41e1ac421063dd44290c88df /tmux.h
parentc2176afe9cf236c385c0058da9febdb063577283 (diff)
downloadrtmux-4bb01c17684710107b58e73405d13a23b71732bc.tar.gz
rtmux-4bb01c17684710107b58e73405d13a23b71732bc.tar.bz2
rtmux-4bb01c17684710107b58e73405d13a23b71732bc.zip
Sync OpenBSD patchset 1021:
Provide defined ways to set the various default-path possibilities: ~ for home directory, . for server start directory, - for session start directory and empty for the pane's working directory (the default). All can also be used as part of a relative path (eg -/foo). Also provide -c flags to neww and splitw to override default-path setting. Based on a diff from sthen. ok sthen
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index 270a0d95..da37fbc3 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1555,7 +1555,7 @@ int cmd_find_index(
struct winlink *cmd_find_pane(struct cmd_ctx *,
const char *, struct session **, struct window_pane **);
char *cmd_template_replace(char *, const char *, int);
-const char *cmd_get_default_path(struct cmd_ctx *ctx);
+const char *cmd_get_default_path(struct cmd_ctx *, 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;