diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-03-16 20:46:58 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-03-16 20:46:58 +0100 |
commit | 135682517bc378cfdb63fe3a6e3553935f69f6ce (patch) | |
tree | 5fa4aaca6a81a5f0b88c1e1da730f74e24acde42 /src/proto | |
parent | 43cb6262141c0a0853680bd8d0433e04db3bf182 (diff) |
patch 8.0.1609: shell commands in the GUI use a dumb terminalv8.0.1609
Problem: Shell commands in the GUI use a dumb terminal.
Solution: Add the "!" flag to 'guioptions' to execute system commands in a
special terminal window. Only for Unix now.
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/channel.pro | 2 | ||||
-rw-r--r-- | src/proto/terminal.pro | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/proto/channel.pro b/src/proto/channel.pro index 3738edcee2..9b63490b79 100644 --- a/src/proto/channel.pro +++ b/src/proto/channel.pro @@ -66,7 +66,7 @@ void job_set_options(job_T *job, jobopt_T *opt); void job_stop_on_exit(void); int has_pending_job(void); void job_check_ended(void); -job_T *job_start(typval_T *argvars, jobopt_T *opt_arg); +job_T *job_start(typval_T *argvars, char **argv_arg, jobopt_T *opt_arg); char *job_status(job_T *job); void job_info(job_T *job, dict_T *dict); int job_stop(job_T *job, typval_T *argvars, char *type); diff --git a/src/proto/terminal.pro b/src/proto/terminal.pro index 977537b716..0ef7783cdb 100644 --- a/src/proto/terminal.pro +++ b/src/proto/terminal.pro @@ -1,4 +1,6 @@ /* terminal.c */ +void init_job_options(jobopt_T *opt); +buf_T *term_start(typval_T *argvar, char **argv, jobopt_T *opt, int flags); void ex_terminal(exarg_T *eap); int term_write_session(FILE *fd, win_T *wp); int term_should_restore(buf_T *buf); |