Просмотр исходного кода

Revert "Don't jumpdown if bottom is still in the window"

This reverts commit 1da493160967c4026ba2c20d1a0b1c5147e2ebf8.
Jochen Sprickerhof 5 лет назад
Родитель
Сommit
129f09a926
1 измененных файлов с 0 добавлено и 3 удалено
  1. 0 3
      scroll.c

+ 0 - 3
scroll.c

@@ -357,9 +357,6 @@ scrolldown(char *buf, size_t size, int n)
 void
 jumpdown(char *buf, size_t size)
 {
-	if (bottom == NULL || bottom == TAILQ_FIRST(&head))
-		return;
-
 	int rows = ws.ws_row;
 
 	/* wind back by one page starting from the latest line */