aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2020-03-19 13:43:18 +0000
committernicm <nicm>2020-03-19 13:43:18 +0000
commite8273a993ec79a58ffff16eba17d0551c690c4db (patch)
tree42b0c159fc138b4a0e49fe39afe881cdd093d511 /tmux.h
parent581ed718e737fd3875323e74b674bcf7f9d0bcb3 (diff)
downloadrtmux-e8273a993ec79a58ffff16eba17d0551c690c4db.tar.gz
rtmux-e8273a993ec79a58ffff16eba17d0551c690c4db.tar.bz2
rtmux-e8273a993ec79a58ffff16eba17d0551c690c4db.zip
Add a flag to run a background process in a pty as well, not used for
anything yet.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index 72e0e9b9..043cb070 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1929,8 +1929,11 @@ typedef void (*job_update_cb) (struct job *);
typedef void (*job_complete_cb) (struct job *);
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);
+ job_update_cb, job_complete_cb, job_free_cb, void *, int,
+ int, int);
void job_free(struct job *);
void job_check_died(pid_t, int);
int job_get_status(struct job *);