add autoindent (-a) and chording.

clean up argument parsing.
This commit is contained in:
rsc 2005-01-27 06:10:35 +00:00
parent 4ac5f249ad
commit 17ab31aac6
8 changed files with 113 additions and 74 deletions

View file

@ -253,10 +253,11 @@ fldelete(Flayer *l, long p0, long p1)
int
flselect(Flayer *l)
{
int ret = 0;
int ret;
if(l->visible!=All)
flupfront(l);
frselect(&l->f, mousectl);
ret = 0;
if(l->f.p0==l->f.p1){
if(mousep->msec-l->click<Clicktime && l->f.p0+l->origin==l->p0){
ret = 1;