mirror of
https://github.com/vim/vim.git
synced 2025-10-04 05:25:06 -04:00
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.
This commit is contained in:
@@ -2088,9 +2088,9 @@ struct file_buffer
|
||||
#ifdef FEAT_MBYTE
|
||||
int b_p_bomb; /* 'bomb' */
|
||||
#endif
|
||||
#ifdef FEAT_QUICKFIX
|
||||
char_u *b_p_bh; /* 'bufhidden' */
|
||||
char_u *b_p_bt; /* 'buftype' */
|
||||
#ifdef FEAT_QUICKFIX
|
||||
#define BUF_HAS_QF_ENTRY 1
|
||||
#define BUF_HAS_LL_ENTRY 2
|
||||
int b_has_qf_entry;
|
||||
|
Reference in New Issue
Block a user