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);
e 2019-07-12Use -s to infer terminal sizeJune McEnroe 2019-07-12Add DCH to shottyJune McEnroe This makes htop mostly work. Scrolling region still missing. 2019-07-12Support insert mode in shottyJune McEnroe This is how curses puts characters into the bottom-right cell of the terminal. 2019-07-11Don't do carriage return on line feedJune McEnroe 2019-07-11Interpret 256color-style SGRsJune McEnroe 2019-07-11Use inline style rather than <b>, <i>, <u>June McEnroe 2019-07-11Factor out clearJune McEnroe 2019-07-11Add bright option to shottyJune McEnroe 2019-07-11Output <b>, <i>, <u> in shottyJune McEnroe 2019-07-10Ignore SM and RMJune McEnroe 2019-07-09Add shotty man page and build itJune McEnroe 2019-07-09Add up -cJune McEnroe 2019-07-09Add options for default colors to shottyJune McEnroe 2019-07-08Use char literals consistentlyJune McEnroe