Revert "Don't jumpdown if bottom is still in the window" - scroll - scrollbackbuffer program for st
HTML git clone git://git.suckless.org/scroll
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 129f09a92636f53610b2dd5d1e02ced0ff765615
DIR parent 1da493160967c4026ba2c20d1a0b1c5147e2ebf8
HTML Author: Jochen Sprickerhof <git@jochen.sprickerhof.de>
Date: Fri, 17 Apr 2020 22:55:03 +0200
Revert "Don't jumpdown if bottom is still in the window"
This reverts commit 1da493160967c4026ba2c20d1a0b1c5147e2ebf8.
Diffstat:
M scroll.c | 3 ---
1 file changed, 0 insertions(+), 3 deletions(-)
---
DIR diff --git a/scroll.c b/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 */