add a color-terminal type
This commit is contained in:
		@@ -415,8 +415,8 @@ SPDLOG_INLINE bool is_color_terminal() SPDLOG_NOEXCEPT
 | 
				
			|||||||
            return true;
 | 
					            return true;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        static constexpr std::array<const char *, 15> terms = {{"ansi", "color", "console", "cygwin", "gnome", "konsole", "kterm", "linux",
 | 
					        static constexpr std::array<const char *, 16> terms = {{"ansi", "color", "console", "cygwin", "gnome", "konsole", "kterm", "linux",
 | 
				
			||||||
            "msys", "putty", "rxvt", "screen", "vt100", "xterm", "alacritty"}};
 | 
					            "msys", "putty", "rxvt", "screen", "vt100", "xterm", "alacritty", "vt102"}};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        const char *env_term_p = std::getenv("TERM");
 | 
					        const char *env_term_p = std::getenv("TERM");
 | 
				
			||||||
        if (env_term_p == nullptr)
 | 
					        if (env_term_p == nullptr)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user