diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd/acme/wind.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cmd/acme/wind.c b/src/cmd/acme/wind.c index 05384601..ceca319d 100644 --- a/src/cmd/acme/wind.c +++ b/src/cmd/acme/wind.c @@ -122,6 +122,12 @@ wintaglines(Window *w, Rectangle r) if(n < w->taglines) n = w->taglines; + /* on initial expansion, create an extra line */ + if(n < 2){ + rune = '\n'; + textinsert(&w->tag, w->tag.file->b.nc, &rune, 1, TRUE); + n = 2; + } return n; } |