Adding support for the rxvt-256color terminal

This commit is contained in:
Frederic Cambus 2015-10-30 22:43:50 +01:00
parent 1dc4f1c2fd
commit 07975b873a
1 changed files with 2 additions and 0 deletions

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) {