about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-08-11 22:45:53 -0400
committerJune McEnroe <june@causal.agency>2018-08-11 22:45:53 -0400
commit24ca3aed8113070182ad3fc872c2af7ea656263f (patch)
tree6dbcf6f8f8b044a7f80ff0d22cdd30ac235b33b1
parentRework UI code for multi-channel (diff)
downloadcatgirl-24ca3aed8113070182ad3fc872c2af7ea656263f.tar.gz
catgirl-24ca3aed8113070182ad3fc872c2af7ea656263f.zip
Leave room for topic when creating view
-rw-r--r--ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.c b/ui.c
index 748235c..5f26405 100644
--- a/ui.c
+++ b/ui.c
@@ -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);