aboutsummaryrefslogtreecommitdiffstats
path: root/terms.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 /terms.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 'terms.c')
-rw-r--r--terms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/terms.c b/terms.c
index a915c0a..9d9b3e1 100644
--- a/terms.c
+++ b/terms.c
@@ -500,7 +500,7 @@ get_pixel_per_cell(int *ppc, int *ppl)
p = buf;
left = sizeof(buf) - 1;
for (i = 0; i < 5; i++) {
- tval.tv_usec = 100000; /* 0.1 sec */
+ tval.tv_usec = 500000; /* 0.5 sec */
tval.tv_sec = 0;
FD_SET(tty,&rfd);
if (select(tty+1,&rfd,NULL,NULL,&tval) <= 0 || ! FD_ISSET(tty,&rfd)) {