mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 21:48:35 +00:00
fix(options): increase t_Co buffer size (#35859)
(cherry picked from commit c2136e3590
)
This commit is contained in:

committed by
github-actions[bot]
![github-actions[bot]](/assets/img/avatar_default.png)
parent
8e00534b1e
commit
c84ba83cf1
@@ -228,7 +228,12 @@ describe('UI can set terminal option', function()
|
||||
it('term_colors', function()
|
||||
eq('256', eval '&t_Co')
|
||||
|
||||
local _ = Screen.new(20, 5, { term_colors = 8 })
|
||||
local screen = Screen.new(20, 5, { term_colors = 8 })
|
||||
eq('8', eval '&t_Co')
|
||||
screen:detach()
|
||||
|
||||
screen = Screen.new(20, 5, { term_colors = 16777216 })
|
||||
eq('16777216', eval '&t_Co')
|
||||
screen:detach()
|
||||
end)
|
||||
end)
|
||||
|
Reference in New Issue
Block a user