Fix.
This commit is contained in:
committed by
Tatsuya Kinoshita
parent
3f3906151b
commit
78ae4478df
2
terms.c
2
terms.c
@@ -625,7 +625,7 @@ put_image_sixel(char *url, int x, int y, int w, int h, int sx, int sy, int sw, i
|
|||||||
sx*pixel_per_char_i, sy*pixel_per_line_i);
|
sx*pixel_per_char_i, sy*pixel_per_line_i);
|
||||||
argv[8] = clip;
|
argv[8] = clip;
|
||||||
argv[9] = url;
|
argv[9] = url;
|
||||||
if (getenv("TERM") && strcmp(getenv("TERM"), "screen")) {
|
if (getenv("TERM") && strcmp(getenv("TERM"), "screen") == 0) {
|
||||||
argv[10] = "-P";
|
argv[10] = "-P";
|
||||||
argv[11] = NULL;
|
argv[11] = NULL;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user