Merge pull request #37 from fcambus/rxvt-256color

Adding support for the rxvt-256color terminal
This commit is contained in:
Kevin Lange 2015-11-01 06:45:54 +09:00
commit a5063d9d86

View File

@ -594,6 +594,8 @@ int main(int argc, char ** argv) {
ttype = 6; /* No color support */
} else if (strstr(term, "fallback")) {
ttype = 4; /* Unicode fallback */
} else if (strstr(term, "rxvt-256color")) {
ttype = 1; /* xterm 256-color compatible */
} else if (strstr(term, "rxvt")) {
ttype = 3; /* Accepts LINUX mode */
} else if (strstr(term, "vt100") && terminal_width == 40) {