Mercurial > vim
comparison src/structs.h @ 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 | 1922710ee8fa |
children | d033653d3df8 |
comparison
equal
deleted
inserted
replaced
11756:e3e89d6460d0 | 11757:74abb6c84984 |
---|---|
2086 int b_p_ci; /* 'copyindent' */ | 2086 int b_p_ci; /* 'copyindent' */ |
2087 int b_p_bin; /* 'binary' */ | 2087 int b_p_bin; /* 'binary' */ |
2088 #ifdef FEAT_MBYTE | 2088 #ifdef FEAT_MBYTE |
2089 int b_p_bomb; /* 'bomb' */ | 2089 int b_p_bomb; /* 'bomb' */ |
2090 #endif | 2090 #endif |
2091 #ifdef FEAT_QUICKFIX | |
2092 char_u *b_p_bh; /* 'bufhidden' */ | 2091 char_u *b_p_bh; /* 'bufhidden' */ |
2093 char_u *b_p_bt; /* 'buftype' */ | 2092 char_u *b_p_bt; /* 'buftype' */ |
2093 #ifdef FEAT_QUICKFIX | |
2094 #define BUF_HAS_QF_ENTRY 1 | 2094 #define BUF_HAS_QF_ENTRY 1 |
2095 #define BUF_HAS_LL_ENTRY 2 | 2095 #define BUF_HAS_LL_ENTRY 2 |
2096 int b_has_qf_entry; | 2096 int b_has_qf_entry; |
2097 #endif | 2097 #endif |
2098 int b_p_bl; /* 'buflisted' */ | 2098 int b_p_bl; /* 'buflisted' */ |