Mercurial > vim
comparison src/channel.c @ 11757:74abb6c84984 v8.0.0761
patch 8.0.0761: options not set properly for a terminal buffer
commit https://github.com/vim/vim/commit/1f2903c43109b16594d141a730659317b15f388d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 23 19:51:01 2017 +0200
patch 8.0.0761: options not set properly for a terminal buffer
Problem: Options of a buffer for a terminal window are not set properly.
Solution: Add "terminal" value for 'buftype'. Make 'buftype' and
'bufhidden' not depend on the quickfix feature.
Also set the buffer name and show "running" or "finished" in the
window title.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 23 Jul 2017 20:00:05 +0200 |
parents | cb1dc90d22cc |
children | 0cfe4a07c2ad |
comparison
equal
deleted
inserted
replaced
11756:e3e89d6460d0 | 11757:74abb6c84984 |
---|---|
4694 /* The job was already unreferenced and the associated channel was | 4694 /* The job was already unreferenced and the associated channel was |
4695 * detached, now that it ended it can be freed. Careful: caller must | 4695 * detached, now that it ended it can be freed. Careful: caller must |
4696 * not use "job" after this! */ | 4696 * not use "job" after this! */ |
4697 job_free(job); | 4697 job_free(job); |
4698 } | 4698 } |
4699 | |
4700 #ifdef FEAT_TERMINAL | |
4701 term_job_ended(job); | |
4702 #endif | |
4699 } | 4703 } |
4700 | 4704 |
4701 /* | 4705 /* |
4702 * Mark references in jobs that are still useful. | 4706 * Mark references in jobs that are still useful. |
4703 */ | 4707 */ |