Mercurial > vim
comparison src/fileio.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 | dbce7e03bf55 |
children | 407a475c67fd |
comparison
equal
deleted
inserted
replaced
11756:e3e89d6460d0 | 11757:74abb6c84984 |
---|---|
6880 /* If there is no file name, the buffer is not loaded, 'buftype' is | 6880 /* If there is no file name, the buffer is not loaded, 'buftype' is |
6881 * set, we are in the middle of a save or being called recursively: ignore | 6881 * set, we are in the middle of a save or being called recursively: ignore |
6882 * this buffer. */ | 6882 * this buffer. */ |
6883 if (buf->b_ffname == NULL | 6883 if (buf->b_ffname == NULL |
6884 || buf->b_ml.ml_mfp == NULL | 6884 || buf->b_ml.ml_mfp == NULL |
6885 #if defined(FEAT_QUICKFIX) | |
6886 || *buf->b_p_bt != NUL | 6885 || *buf->b_p_bt != NUL |
6887 #endif | |
6888 || buf->b_saving | 6886 || buf->b_saving |
6889 #ifdef FEAT_AUTOCMD | 6887 #ifdef FEAT_AUTOCMD |
6890 || busy | 6888 || busy |
6891 #endif | 6889 #endif |
6892 #ifdef FEAT_NETBEANS_INTG | 6890 #ifdef FEAT_NETBEANS_INTG |