Mercurial > vim
diff src/testdir/test_functions.vim @ 28919:99c1356f4210 v8.2.4982
patch 8.2.4982: colors in terminal window are not 100% correct
Commit: https://github.com/vim/vim/commit/b2b3acbf2b3ae29ecf517f03b46fbeadf0c1a905
Author: LemonBoy <thatlemon@gmail.com>
Date: Fri May 20 10:10:34 2022 +0100
patch 8.2.4982: colors in terminal window are not 100% correct
Problem: Colors in terminal window are not 100% correct.
Solution: Use g:terminal_ansi_colors as documented. (closes https://github.com/vim/vim/issues/10429,
closes #7227 closes #10347)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 20 May 2022 11:15:04 +0200 |
parents | 99729fe344f7 |
children | 995bc7ba8d5b |
line wrap: on
line diff
--- a/src/testdir/test_functions.vim +++ b/src/testdir/test_functions.vim @@ -2679,8 +2679,8 @@ func Test_range() else let cmd = "ls" endif - call assert_fails('call term_start("' .. cmd .. '", #{term_finish: "close"})', 'E475:') - unlet g:terminal_ansi_colors + call assert_fails('call term_start("' .. cmd .. '", #{term_finish: "close"' + \ .. ', ansi_colors: range(16)})', 'E475:') endif " type()