Leave room for topic when creating view

weechat-hashes
Curtis McEnroe 2018-08-11 22:45:53 -04:00
parent a281f89592
commit 24ca3aed81
No known key found for this signature in database
GPG Key ID: CEA2F97ADCFCD77C
1 changed files with 1 additions and 1 deletions

2
ui.c
View File

@ -123,7 +123,7 @@ static struct View *viewTag(struct Tag tag) {
view->log = newpad(LOG_LINES, COLS);
wsetscrreg(view->log, 0, lastLogLine());
scrollok(view->log, true);
wmove(view->log, lastLogLine() - logHeight(view), 0);
wmove(view->log, lastLogLine() - logHeight(view) + 2, 0);
view->scroll = LOG_LINES;
viewAppend(view);