Revert "Don't jumpdown if bottom is still in the window" - scroll - scrollbackb… | |
git clone git://git.suckless.org/scroll | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 129f09a92636f53610b2dd5d1e02ced0ff765615 | |
parent 1da493160967c4026ba2c20d1a0b1c5147e2ebf8 | |
Author: Jochen Sprickerhof <[email protected]> | |
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(-) | |
--- | |
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 */ |