Accept TERM=fbterm
cf. https://bushowhige.blogspot.jp/2015/01/fbterm-w3m-img.html
This commit is contained in:
@@ -178,8 +178,8 @@ w3mimg_fbopen()
|
||||
memset(wop, 0, sizeof(w3mimg_op));
|
||||
|
||||
if (!check_tty_console(getenv("W3M_TTY")) &&
|
||||
strcmp("jfbterm", getenv("TERM")) != 0 &&
|
||||
strncmp("jfbterm-", getenv("TERM"), 8) != 0) {
|
||||
strncmp("fbterm", getenv("TERM"), 6) != 0 &&
|
||||
strncmp("jfbterm", getenv("TERM"), 7) != 0) {
|
||||
fprintf(stderr, "w3mimgdisplay/fb: tty is not console\n");
|
||||
goto error;
|
||||
}
|
||||
|
Reference in New Issue
Block a user