mirror of
				https://github.com/neovim/neovim.git
				synced 2025-11-04 09:44:31 +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)
 | 
					    assert_term_colors("linux-256color", nil, 256)
 | 
				
			||||||
  end)
 | 
					  end)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  -- screen and tmux:
 | 
					  -- screen:
 | 
				
			||||||
  --
 | 
					  --
 | 
				
			||||||
  -- FreeBSD falls back to the built-in screen-256colour entry.
 | 
					  -- FreeBSD falls back to the built-in screen-256colour entry.
 | 
				
			||||||
  -- Linux and MacOS have a screen entry in external terminfo with 8 colours,
 | 
					  -- 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)
 | 
					    assert_term_colors("screen-256color", nil, 256)
 | 
				
			||||||
  end)
 | 
					  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()
 | 
					  it("TERM=tmux no COLORTERM uses 256 colors", function()
 | 
				
			||||||
    assert_term_colors("tmux", nil, 256)
 | 
					    assert_term_colors("tmux", nil, 256)
 | 
				
			||||||
  end)
 | 
					  end)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user