Mercurial > vim
comparison src/channel.c @ 11719:13ecb3e64399 v8.0.0742
patch 8.0.0742: terminal feature does not work on MS-Windows
commit https://github.com/vim/vim/commit/8f84c3a8666cea04484ec93fa05386bf33f93f5a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jul 22 16:14:44 2017 +0200
patch 8.0.0742: terminal feature does not work on MS-Windows
Problem: Terminal feature does not work on MS-Windows.
Solution: Use libvterm and libwinpty on MS-Windows. (Yasuhiro Matsumoto)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 22 Jul 2017 16:15:04 +0200 |
parents | ce434212d682 |
children | 1922710ee8fa |
comparison
equal
deleted
inserted
replaced
11718:74f4fb97b581 | 11719:13ecb3e64399 |
---|---|
4641 /* | 4641 /* |
4642 * NOTE: Must call job_cleanup() only once right after the status of "job" | 4642 * NOTE: Must call job_cleanup() only once right after the status of "job" |
4643 * changed to JOB_ENDED (i.e. after job_status() returned "dead" first or | 4643 * changed to JOB_ENDED (i.e. after job_status() returned "dead" first or |
4644 * mch_detect_ended_job() returned non-NULL). | 4644 * mch_detect_ended_job() returned non-NULL). |
4645 */ | 4645 */ |
4646 static void | 4646 void |
4647 job_cleanup(job_T *job) | 4647 job_cleanup(job_T *job) |
4648 { | 4648 { |
4649 if (job->jv_status != JOB_ENDED) | 4649 if (job->jv_status != JOB_ENDED) |
4650 return; | 4650 return; |
4651 | 4651 |
4771 } | 4771 } |
4772 | 4772 |
4773 /* | 4773 /* |
4774 * Allocate a job. Sets the refcount to one and sets options default. | 4774 * Allocate a job. Sets the refcount to one and sets options default. |
4775 */ | 4775 */ |
4776 static job_T * | 4776 job_T * |
4777 job_alloc(void) | 4777 job_alloc(void) |
4778 { | 4778 { |
4779 job_T *job; | 4779 job_T *job; |
4780 | 4780 |
4781 job = (job_T *)alloc_clear(sizeof(job_T)); | 4781 job = (job_T *)alloc_clear(sizeof(job_T)); |