Mercurial > vim
comparison runtime/doc/terminal.txt @ 25965:1266292376c7 v8.2.3516
patch 8.2.3516: terminal window does not have transparent background
Commit: https://github.com/vim/vim/commit/7b5f45be2197403d631b5a3d633f6a20afdf806e
Author: Milly <milly.ca@gmail.com>
Date: Fri Oct 15 22:25:43 2021 +0100
patch 8.2.3516: terminal window does not have transparent background
Problem: Terminal window does not have transparent background when
'termguicolors' is used.
Solution: Fix the background color. (closes #2361, closes #9002)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 15 Oct 2021 23:30:04 +0200 |
parents | d4faa2c5211b |
children | c421c9599d83 |
comparison
equal
deleted
inserted
replaced
25964:0cc536850b7e | 25965:1266292376c7 |
---|---|
166 terminal window will start with a white or black background. | 166 terminal window will start with a white or black background. |
167 | 167 |
168 To use a different color the Terminal highlight group can be used, for | 168 To use a different color the Terminal highlight group can be used, for |
169 example: > | 169 example: > |
170 hi Terminal ctermbg=lightgrey ctermfg=blue guibg=lightgrey guifg=blue | 170 hi Terminal ctermbg=lightgrey ctermfg=blue guibg=lightgrey guifg=blue |
171 The highlight needs to be defined before the terminal is created. Doing it | |
172 later, or setting 'wincolor', will only have effect when the program running | |
173 in the terminal displays text or clears the terminal. | |
174 Instead of Terminal another group can be specified with the "term_highlight" | 171 Instead of Terminal another group can be specified with the "term_highlight" |
175 option for `term_start()`. | 172 option for `term_start()`. |
176 | 173 |
177 *g:terminal_ansi_colors* | 174 *g:terminal_ansi_colors* |
178 In GUI mode or with 'termguicolors', the 16 ANSI colors used by default in new | 175 In GUI mode or with 'termguicolors', the 16 ANSI colors used by default in new |