diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-07-16 13:48:22 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-07-16 13:48:22 +0200 |
commit | cb8bbe9bf3214d07580d6b43d6539416884153bd (patch) | |
tree | 60a96551f612f3f77e71aeb7fdde295c58e8b6f2 /src/proto | |
parent | 26e8558e74fc1701b57f092cc2c3dbf879cf1af3 (diff) | |
download | vim-git-cb8bbe9bf3214d07580d6b43d6539416884153bd.tar.gz |
patch 8.0.0718: output of job in terminal is not displayedv8.0.0718
Problem: Output of job in terminal is not displayed.
Solution: Connect the job output to the terminal.
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/channel.pro | 3 | ||||
-rw-r--r-- | src/proto/screen.pro | 2 | ||||
-rw-r--r-- | src/proto/terminal.pro | 2 |
3 files changed, 6 insertions, 1 deletions
diff --git a/src/proto/channel.pro b/src/proto/channel.pro index a54d387a2..6c845ca94 100644 --- a/src/proto/channel.pro +++ b/src/proto/channel.pro @@ -2,6 +2,7 @@ void ch_logfile(char_u *fname, char_u *opt); int ch_log_active(void); void ch_log(channel_T *ch, char *msg); +void ch_logn(channel_T *ch, char *msg, int nr); void ch_logs(channel_T *ch, char *msg, char *name); channel_T *add_channel(void); int has_any_channel(void); @@ -63,7 +64,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); +job_T *job_start(typval_T *argvars, 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); diff --git a/src/proto/screen.pro b/src/proto/screen.pro index d98e34fd9..d560b7e50 100644 --- a/src/proto/screen.pro +++ b/src/proto/screen.pro @@ -16,6 +16,8 @@ void conceal_check_cursur_line(void); void update_single_line(win_T *wp, linenr_T lnum); void update_debug_sign(buf_T *buf, linenr_T lnum); void updateWindow(win_T *wp); +int screen_get_current_line_off(void); +void screen_line(int row, int coloff, int endcol, int clear_width, int rlflag); void rl_mirror(char_u *str); void status_redraw_all(void); void status_redraw_curbuf(void); diff --git a/src/proto/terminal.pro b/src/proto/terminal.pro index 96ebb7d40..421653a07 100644 --- a/src/proto/terminal.pro +++ b/src/proto/terminal.pro @@ -1,3 +1,5 @@ /* terminal.c */ void ex_terminal(exarg_T *eap); +void write_to_term(buf_T *buffer, char_u *msg, channel_T *channel); +void term_update_window(win_T *wp); /* vim: set ft=c : */ |