diff options
author | nicm <nicm> | 2018-05-24 09:42:49 +0000 |
---|---|---|
committer | nicm <nicm> | 2018-05-24 09:42:49 +0000 |
commit | b9a6162d2f9bea63c3ad421e9c3969eea2852b00 (patch) | |
tree | d944f370a3a21ea175f9fe958f9773146cdbfc1a /tmux.h | |
parent | 8f5903d7c3d75763ed5dc37ff49a39fe3b3b7831 (diff) | |
download | rtmux-b9a6162d2f9bea63c3ad421e9c3969eea2852b00.tar.gz rtmux-b9a6162d2f9bea63c3ad421e9c3969eea2852b00.tar.bz2 rtmux-b9a6162d2f9bea63c3ad421e9c3969eea2852b00.zip |
Make server_client_get_cwd used (almost) everywhere we need to work out
the cwd, and do not fall back to "." as it is pretty useless. GitHub
issue 1331.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1906,7 +1906,7 @@ 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 *); +const char *server_client_get_cwd(struct client *, struct session *); /* server-fn.c */ void server_redraw_client(struct client *); |