page: add caching from Plan 9

http://codereview.appspot.com/105070
This commit is contained in:
Fazlul Shahriar 2009-08-09 20:13:48 -04:00
parent 3c6ab1854e
commit b3453e08b8
5 changed files with 212 additions and 56 deletions

View file

@ -228,6 +228,8 @@ threadmain(int argc, char **argv)
fprint(2, "page: initdraw failed: %r\n");
wexits("initdraw");
}
display->locking = 1;
truecolor = screen->depth > 8;
viewer(doc);
wexits(0);