aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2021-03-02 12:01:25 +0000
committerThomas Adam <thomas@xteddy.org>2021-03-02 12:01:25 +0000
commit2301bee87ddfcdc307d8cb4e3f62eed9fb94d311 (patch)
treeff292eb08ed29269c7829f3908cc9e265663fe02 /tmux.h
parent48131c6d020220e6998512198b73819c5a085db9 (diff)
parent81f9a23d25237f2b0c52a2867ddd2db59cc8f368 (diff)
downloadrtmux-2301bee87ddfcdc307d8cb4e3f62eed9fb94d311.tar.gz
rtmux-2301bee87ddfcdc307d8cb4e3f62eed9fb94d311.tar.bz2
rtmux-2301bee87ddfcdc307d8cb4e3f62eed9fb94d311.zip
Merge branch 'obsd-master' into master
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h19
1 files changed, 7 insertions, 12 deletions
diff --git a/tmux.h b/tmux.h
index 401bf82f..69610940 100644
--- a/tmux.h
+++ b/tmux.h
@@ -2068,9 +2068,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 *, 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 session *,
+ const char *, job_update_cb, job_complete_cb, job_free_cb,
+ void *, int, int, int);
void job_free(struct job *);
void job_resize(struct job *, u_int, u_int);
void job_check_died(pid_t, int);
@@ -3040,18 +3040,13 @@ int menu_display(struct menu *, int, struct cmdq_item *, u_int,
menu_choice_cb, void *);
/* popup.c */
-#define POPUP_WRITEKEYS 0x1
-#define POPUP_CLOSEEXIT 0x2
-#define POPUP_CLOSEEXITZERO 0x4
+#define POPUP_CLOSEEXIT 0x1
+#define POPUP_CLOSEEXITZERO 0x2
typedef void (*popup_close_cb)(int, void *);
typedef void (*popup_finish_edit_cb)(char *, size_t, void *);
-u_int popup_width(struct cmdq_item *, u_int, const char **,
- struct client *, struct cmd_find_state *);
-u_int popup_height(u_int, const char **);
int popup_display(int, struct cmdq_item *, u_int, u_int, u_int,
- u_int, u_int, const char **, const char *, const char *,
- const char *, struct client *, struct cmd_find_state *,
- popup_close_cb, void *);
+ u_int, 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 *);