aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2017-02-14 18:13:05 +0000
committernicm <nicm>2017-02-14 18:13:05 +0000
commite340df2034c04591e3bbdcbcc22af1301cf74b09 (patch)
treed3d92f1bb528ba42eb0ea663f5094d8920c3fdd0 /tmux.h
parent4c2a78029d0cb307899be42d94d3c255b97fb15f (diff)
downloadrtmux-e340df2034c04591e3bbdcbcc22af1301cf74b09.tar.gz
rtmux-e340df2034c04591e3bbdcbcc22af1301cf74b09.tar.bz2
rtmux-e340df2034c04591e3bbdcbcc22af1301cf74b09.zip
Make source-file look for files relative to the client working directory
(like load-buffer and save-buffer), from Chris Pickel. Also break the where-is-this-file code out into its own function for loadb and saveb.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index d2621f8b..67b0915e 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1834,6 +1834,8 @@ void server_client_push_stdout(struct client *);
void server_client_push_stderr(struct client *);
void printflike(2, 3) server_client_add_message(struct client *, const char *,
...);
+char *server_client_get_path(struct client *, const char *);
+const char *server_client_get_cwd(struct client *);
/* server-fn.c */
void server_fill_environ(struct session *, struct environ *);