summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2021-10-11 10:55:30 +0000
committernicm <nicm>2021-10-11 10:55:30 +0000
commit759efe1b3327a7244c03ecc7b90e0e3c49712d06 (patch)
tree58e4302cb00b591f010c38a6871b1e9a779da5a3 /tmux.h
parent7800a431ea63f3be4f0763df3f3a2fae44aeac58 (diff)
Add -e flag to set environment for popup, from Alexis Hildebrandt in
GitHub issue 2924.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/tmux.h b/tmux.h
index 29a532aa..57d3c909 100644
--- a/tmux.h
+++ b/tmux.h
@@ -2073,9 +2073,9 @@ typedef void (*job_free_cb) (void *);
#define JOB_NOWAIT 0x1
#define JOB_KEEPWRITE 0x2
#define JOB_PTY 0x4
-struct job *job_run(const char *, int, char **, struct session *,
- const char *, job_update_cb, job_complete_cb, job_free_cb,
- void *, int, int, int);
+struct job *job_run(const char *, int, char **, struct environ *,
+ struct session *, const char *, job_update_cb,
+ job_complete_cb, job_free_cb, void *, int, int, int);
void job_free(struct job *);
int job_transfer(struct job *, pid_t *, char *, size_t);
void job_resize(struct job *, u_int, u_int);
@@ -3105,8 +3105,9 @@ int menu_key_cb(struct client *, void *, struct key_event *);
typedef void (*popup_close_cb)(int, void *);
typedef void (*popup_finish_edit_cb)(char *, size_t, void *);
int popup_display(int, struct cmdq_item *, u_int, u_int, u_int,
- u_int, const char *, int, char **, const char *,
- struct client *, struct session *, popup_close_cb, void *);
+ u_int, struct environ *, const char *, int, char **,
+ const char *, struct client *, struct session *,
+ popup_close_cb, void *);
int popup_editor(struct client *, const char *, size_t,
popup_finish_edit_cb, void *);