aboutsummaryrefslogtreecommitdiffstats
path: root/image.c
diff options
context:
space:
mode:
authorAraki Ken <arakiken@users.sf.net>2013-03-11 12:57:49 +0000
committerTatsuya Kinoshita <tats@debian.org>2014-12-06 11:47:04 +0000
commita95a17897125a4268864b6a67e4fdb79fa5439a3 (patch)
tree5347ab8ee89568448df1fbe3969236603c83844b /image.c
parent- Adjust the image size to the terminal cell size. - If the image size is spe... (diff)
downloadw3m-a95a17897125a4268864b6a67e4fdb79fa5439a3.tar.gz
w3m-a95a17897125a4268864b6a67e4fdb79fa5439a3.zip
* 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.
Diffstat (limited to 'image.c')
-rw-r--r--image.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/image.c b/image.c
index 0c8476a..51e3903 100644
--- a/image.c
+++ b/image.c
@@ -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;
}