Fix a compile error when SSL is disabled.

This commit is contained in:
Chunting Gu
2019-06-13 14:47:00 +08:00
parent 8c09189b14
commit 889024d6c7
5 changed files with 7 additions and 4 deletions
+1
View File
@@ -97,6 +97,7 @@ static const bool g_terminal_has_color = []() {
return strcmp(term, "cygwin") == 0 || strcmp(term, "linux") == 0 ||
strcmp(term, "rxvt-unicode-256color") == 0 ||
strcmp(term, "screen") == 0 || strcmp(term, "screen-256color") == 0 ||
strcmp(term, "screen.xterm-256color") == 0 ||
strcmp(term, "tmux-256color") == 0 || strcmp(term, "xterm") == 0 ||
strcmp(term, "xterm-256color") == 0 ||
strcmp(term, "xterm-termite") == 0 || strcmp(term, "xterm-color") == 0;