mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
tui: Correct commentary on tmux colour tests.
This commit is contained in:
@@ -403,7 +403,7 @@ describe("tui 't_Co' (terminal colors)", function()
|
||||
assert_term_colors("linux-256color", nil, 256)
|
||||
end)
|
||||
|
||||
-- screen and tmux:
|
||||
-- screen:
|
||||
--
|
||||
-- FreeBSD falls back to the built-in screen-256colour entry.
|
||||
-- Linux and MacOS have a screen entry in external terminfo with 8 colours,
|
||||
@@ -433,6 +433,12 @@ describe("tui 't_Co' (terminal colors)", function()
|
||||
assert_term_colors("screen-256color", nil, 256)
|
||||
end)
|
||||
|
||||
-- tmux:
|
||||
--
|
||||
-- FreeBSD and MacOS fall back to the built-in tmux-256colour entry.
|
||||
-- Linux has a tmux entry in external terminfo with 8 colours,
|
||||
-- which is raised to 256.
|
||||
|
||||
it("TERM=tmux no COLORTERM uses 256 colors", function()
|
||||
assert_term_colors("tmux", nil, 256)
|
||||
end)
|
||||
|
Reference in New Issue
Block a user