* terms.c: Change time to wait for the response of "\x1b[14t\x1b[18t" from 0.1 sec to 0.5 sec.

* image.c:
  - clearImage() works.
  - Use cached image files created by w3m in getImage().

* file.c: Hack for alignment.
This commit is contained in:
Araki Ken
2013-03-11 21:57:49 +09:00
committed by Tatsuya Kinoshita
parent 147ef0048b
commit a95a178971
3 changed files with 18 additions and 15 deletions

View File

@@ -288,10 +288,6 @@ clearImage()
int j;
TerminalImage *i;
if (support_remote_image) {
return;
}
if (!activeImage)
return;
if (!n_terminal_image)
@@ -600,7 +596,7 @@ getImage(Image * image, ParsedURL *current, int flag)
if (image->height > 0 && image->height % pixel_per_line_i > 0)
image->height += (pixel_per_line_i - image->height % pixel_per_line_i);
if (image->height > 0 && image->width > 0)
if (! getenv("WINDOWID") && image->height > 0 && image->width > 0)
cache->loaded = IMG_FLAG_LOADED;
}