Mercurial > vim
comparison src/proto/channel.pro @ 9189:4b55d8e162d4 v7.4.1878
commit https://github.com/vim/vim/commit/cf7c11a9479ba7ce775b86c7a846fae48321d260
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jun 2 20:05:26 2016 +0200
patch 7.4.1878
Problem: Whether a job has exited isn't detected until a character is
typed. After calling exit_cb the cursor is in the wrong place.
Solution: Don't wait forever for a character to be typed when there is a
pending job. Update the screen if neede after calling exit_cb.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 02 Jun 2016 20:15:05 +0200 |
parents | b9c1a397a8a6 |
children | d2d44592467d |
comparison
equal
deleted
inserted
replaced
9188:6de68608c4ea | 9189:4b55d8e162d4 |
---|---|
55 void job_unref(job_T *job); | 55 void job_unref(job_T *job); |
56 int free_unused_jobs_contents(int copyID, int mask); | 56 int free_unused_jobs_contents(int copyID, int mask); |
57 void free_unused_jobs(int copyID, int mask); | 57 void free_unused_jobs(int copyID, int mask); |
58 void job_set_options(job_T *job, jobopt_T *opt); | 58 void job_set_options(job_T *job, jobopt_T *opt); |
59 void job_stop_on_exit(void); | 59 void job_stop_on_exit(void); |
60 int has_pending_job(void); | |
60 void job_check_ended(void); | 61 void job_check_ended(void); |
61 job_T *job_start(typval_T *argvars); | 62 job_T *job_start(typval_T *argvars); |
62 char *job_status(job_T *job); | 63 char *job_status(job_T *job); |
63 void job_info(job_T *job, dict_T *dict); | 64 void job_info(job_T *job, dict_T *dict); |
64 int job_stop(job_T *job, typval_T *argvars); | 65 int job_stop(job_T *job, typval_T *argvars); |