forked from aniani/vim
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 #10429, closes #7227 closes #10347)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user