diff options
author | Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.com> | 2017-06-03 15:16:40 +0100 |
---|---|---|
committer | Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.com> | 2017-06-03 18:53:29 +0100 |
commit | 86d796656ca84e9f672b1f899b8211c47561db5c (patch) | |
tree | ed0a0214d4ac7387a513ce5e31f70d4f06988f0b | |
parent | f6116eeaa389e6c6af8091cfdf9cb1a5acfd7f00 (diff) | |
download | rneovim-86d796656ca84e9f672b1f899b8211c47561db5c.tar.gz rneovim-86d796656ca84e9f672b1f899b8211c47561db5c.tar.bz2 rneovim-86d796656ca84e9f672b1f899b8211c47561db5c.zip |
tui: Correct commentary on tmux colour tests.
-rw-r--r-- | test/functional/terminal/tui_spec.lua | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/functional/terminal/tui_spec.lua b/test/functional/terminal/tui_spec.lua index d27e93c9f9..cb436dbeea 100644 --- a/test/functional/terminal/tui_spec.lua +++ b/test/functional/terminal/tui_spec.lua @@ -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) |