comparison 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
comparison
equal deleted inserted replaced
28918:ec2988a3b03c 28919:99c1356f4210
2677 if has('win32') 2677 if has('win32')
2678 let cmd = "cmd /c dir" 2678 let cmd = "cmd /c dir"
2679 else 2679 else
2680 let cmd = "ls" 2680 let cmd = "ls"
2681 endif 2681 endif
2682 call assert_fails('call term_start("' .. cmd .. '", #{term_finish: "close"})', 'E475:') 2682 call assert_fails('call term_start("' .. cmd .. '", #{term_finish: "close"'
2683 unlet g:terminal_ansi_colors 2683 \ .. ', ansi_colors: range(16)})', 'E475:')
2684 endif 2684 endif
2685 2685
2686 " type() 2686 " type()
2687 call assert_equal(v:t_list, type(range(5))) 2687 call assert_equal(v:t_list, type(range(5)))
2688 2688