mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[xterm] check also for cases like screen.xterm-256color
This commit is contained in:
parent
9e4541a0b2
commit
f5ecff0fd0
@ -330,7 +330,7 @@ is_xterm(void)
|
|||||||
if (xt == -1) {
|
if (xt == -1) {
|
||||||
char *term = getenv("TERM");
|
char *term = getenv("TERM");
|
||||||
|
|
||||||
if (term && !strncmp("xterm", term, 5)) {
|
if (term && strstr(term, "xterm")) {
|
||||||
xt = 1;
|
xt = 1;
|
||||||
} else {
|
} else {
|
||||||
char *wayland = getenv("WAYLAND_DISPLAY");
|
char *wayland = getenv("WAYLAND_DISPLAY");
|
||||||
|
Loading…
Reference in New Issue
Block a user