diff options
author | rsc <devnull@localhost> | 2005-11-11 01:33:53 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-11-11 01:33:53 +0000 |
commit | bcc96c1df80988a55daa87a08c5a69e301109ff5 (patch) | |
tree | 1e1f8936681c481fdb4ea256951a30f5a97b26a9 /src/cmd/9term | |
parent | c21d0ab45b22db49ab83936a3bab4007f33187ee (diff) | |
download | plan9port-bcc96c1df80988a55daa87a08c5a69e301109ff5.tar.gz plan9port-bcc96c1df80988a55daa87a08c5a69e301109ff5.tar.bz2 plan9port-bcc96c1df80988a55daa87a08c5a69e301109ff5.zip |
fixes
Diffstat (limited to 'src/cmd/9term')
-rw-r--r-- | src/cmd/9term/9term.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cmd/9term/9term.c b/src/cmd/9term/9term.c index cc85e95e..82ee2c2b 100644 --- a/src/cmd/9term/9term.c +++ b/src/cmd/9term/9term.c @@ -177,11 +177,12 @@ resizethread(void *v) while(recv(mousectl->resizec, nil) == 1){ if(getwindow(display, Refnone) < 0) sysfatal("can't reattach to window"); - wresize(w, screen, 0); p = stringsize(display->defaultfont, "0"); if(p.x && p.y) updatewinsize(Dy(screen->r)/p.y, Dx(screen->r)/p.x, Dx(screen->r), Dy(screen->r)); + wresize(w, screen, 0); + flushimage(display, 1); } } @@ -585,6 +586,7 @@ listenproc(void *arg) int fd; char dir[100]; + threadsetname("listen %s", thesocket); USED(arg); for(;;){ fd = listen(adir, dir); @@ -603,6 +605,7 @@ textproc(void *arg) Rune r; char buf[4096], *p, *ep; + threadsetname("textproc"); fd = (int)arg; p = buf; ep = buf+sizeof buf; |