Преглед на файлове

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

This reverts commit 1da493160967c4026ba2c20d1a0b1c5147e2ebf8.
Jochen Sprickerhof преди 5 години
родител
ревизия
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 */