add bigtags
This commit is contained in:
parent
20ae0b0fc2
commit
f8dea3c178
5 changed files with 96 additions and 2 deletions
|
|
@ -282,6 +282,17 @@ rowtype(Row *row, Rune r, Point p)
|
|||
else{
|
||||
winlock(w, 'K');
|
||||
wintype(w, t, r);
|
||||
/*
|
||||
* TAG If we typed in the tag, might need to make it
|
||||
* bigger to show text. \n causes tag to expand.
|
||||
*/
|
||||
if(t->what == Tag){
|
||||
t->w->tagsafe = FALSE;
|
||||
if(r == '\n')
|
||||
t->w->tagexpand = TRUE;
|
||||
winresize(w, w->r, TRUE, TRUE);
|
||||
}
|
||||
/* END TAG */
|
||||
winunlock(w);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue