* 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

@@ -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)) {