diff options
author | David Jeannot <djeannot24@gmail.com> | 2012-01-16 17:05:39 -0500 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2012-01-16 17:05:39 -0500 |
commit | 258cfab2fe5a816f23723f696c53ad6e61f6b501 (patch) | |
tree | bebe8731951c7e832f6da10665dcf7db84d11088 /src/cmd | |
parent | 8423a43814aa8549e9fe2bd1f50ba3eecdf3032c (diff) | |
download | plan9port-258cfab2fe5a816f23723f696c53ad6e61f6b501.tar.gz plan9port-258cfab2fe5a816f23723f696c53ad6e61f6b501.tar.bz2 plan9port-258cfab2fe5a816f23723f696c53ad6e61f6b501.zip |
acme: claim input focus earlier
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5505091
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/acme/look.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/acme/look.c b/src/cmd/acme/look.c index 813fd19b..8d136110 100644 --- a/src/cmd/acme/look.c +++ b/src/cmd/acme/look.c @@ -255,10 +255,10 @@ plumblook(Plumbmsg *m) e.u.ar = bytetorune(addr, &e.a1); e.agetc = plumbgetc; } + drawtopwindow(); openfile(nil, &e); free(e.name); free(e.u.at); - drawtopwindow(); } void @@ -270,6 +270,7 @@ plumbshow(Plumbmsg *m) Runestr rs; char *name, *p, namebuf[16]; + drawtopwindow(); w = makenewwindow(nil); name = plumblookup(m->attr, "filename"); if(name == nil){ @@ -297,7 +298,6 @@ plumbshow(Plumbmsg *m) winsettag(w); textscrdraw(&w->body); textsetselect(&w->tag, w->tag.file->b.nc, w->tag.file->b.nc); - drawtopwindow(); } int |