Move scroll marker on resize

weechat-hashes
C. McEnroe 2020-02-10 02:55:21 -05:00
parent b6061a70d7
commit 3c89857652
1 changed files with 1 additions and 0 deletions

1
ui.c
View File

@ -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;