mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Expand prompts when they are used rather than ahead of time, so the
input can be used as part of the format.
This commit is contained in:
2
tmux.h
2
tmux.h
@ -1990,6 +1990,7 @@ struct client {
|
||||
struct event message_timer;
|
||||
|
||||
char *prompt_string;
|
||||
struct format_tree *prompt_formats;
|
||||
struct utf8_data *prompt_buffer;
|
||||
char *prompt_last;
|
||||
size_t prompt_index;
|
||||
@ -2394,6 +2395,7 @@ typedef void (*job_free_cb) (void *);
|
||||
#define JOB_KEEPWRITE 0x2
|
||||
#define JOB_PTY 0x4
|
||||
#define JOB_DEFAULTSHELL 0x8
|
||||
#define JOB_SHOWSTDERR 0x10
|
||||
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);
|
||||
|
Reference in New Issue
Block a user