summary refs log tree commit diff
path: root/ui.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-10 02:55:21 -0500
committerJune McEnroe <june@causal.agency>2020-02-10 02:55:21 -0500
commit3c898576524a8384a81a21aa58d0ba1b3d354322 (patch)
tree37191fdae3c07fe58365e4734389b237528b1c23 /ui.c
parentUpdate line count for words longer than lines (diff)
downloadcatgirl-3c898576524a8384a81a21aa58d0ba1b3d354322.tar.gz
catgirl-3c898576524a8384a81a21aa58d0ba1b3d354322.zip
Move scroll marker on resize
Diffstat (limited to '')
-rw-r--r--ui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui.c b/ui.c
index 7c933f6..d35c02d 100644
--- a/ui.c
+++ b/ui.c
@@ -527,6 +527,7 @@ static void reflow(struct Window *window) {
 }
 
 static void resize(void) {
+	mvwin(marker, LINES - 2, 0);
 	int height, width;
 	getmaxyx(windows.active->pad, height, width);
 	if (width == COLS) return;